:: git error with vi

error: There was a problem with the editor 'vi'

 

:: how to fix the problem
0. check path for vim

$ which vim
/usr/local/bin/vim

1. set core.editor to vim in git

$ git config --global core.editor /usr/local/bin/vim

:: links
+ Google
+ Tooky