Skip to content

Instantly share code, notes, and snippets.

@libitte
Created April 29, 2013 13:50
Show Gist options
  • Save libitte/5481674 to your computer and use it in GitHub Desktop.
Save libitte/5481674 to your computer and use it in GitHub Desktop.

こういうときは、、

$ git commit
error: There was a problem with the editor 'vi'.
Please supply the message using either -m or -F option.

こうして core.editor に /usr/bin/vim を指定するとOK

git config --global core.editor "/usr/bin/vim"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment