w0th5g
Last Updated: February 25, 2016
·
248
· asimabdul
Prof pic2

Git - There was a problem with the editor 'vi'

If you were messing around with your vim/vimrc, trying to install a new distro etc, there is a good chance you'll end up with this error when trying to edit your commit messages.

To fix this, you need to point git to vim or another editor:

git config --global core.editor /usr/bin/vim
Say Thanks
Respond

1 Response
Add your response

9567
E9b552afa0ff42c9677153cf4b9327e8
over 1 year ago ·