w0th5g
Last Updated: February 25, 2016
·
268
· asimabdul

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

1 Response
Add your response

9567
over 1 year ago ·