Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fixes git bug: "error: There was a problem with the editor 'vi'." probably an error with the vimrc but who cares this fixes it. this happens when vi/vim exits with a 'non 0' exit code. From http://tooky.co.uk/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x/
$ git config --global core.editor /usr/bin/vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.