Skip to content

Instantly share code, notes, and snippets.

@AndrewRussellHayes
Created November 10, 2014 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewRussellHayes/a02ce4aa7b062c28cf78 to your computer and use it in GitHub Desktop.
Save AndrewRussellHayes/a02ce4aa7b062c28cf78 to your computer and use it in GitHub Desktop.
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