git commit -a をしてもエラーになってコミット出来ない時の対処方法

開発ツール

Macにgitを入れたらコミットが出来ない
なんでだろ??って思って調べたのでメモです

エラー内容

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

こうしてみた

~~~
git config –global core.editor “/usr/bin/vim”
~~~

参考サイト:Fixing “There was a problem with the editor 'vi'” for Git on Mac OS X Snow Leopard

コメント

タイトルとURLをコピーしました