git commit 時にvimで怒られる件

git commit
error: There was a problem with the editor 'vi'.
Please supply the message using either -m or -F option.
というエラーが出た(Mac OSX Lion)

これで解決した
git config --global core.editor "/usr/bin/vim"
git commit

タグ:

git mac
最終更新:2012年01月16日 11:39