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
Written by Asim Abdul
Related protips
1 Response
Here is an "sort-of-explanation" for this Issue: http://tooky.co.uk/2010/04/08/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x.html
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#