Fixing "There was a problem with the editor vi" for Git

http://www.freyskeyd.fr/fixing-there-was-a-problem-with-the-editor-vi-for-git/

error:
error: There was a problem with the editor 'vi'

fix:
$ git config --global core.editor /usr/bin/vim

你可能感兴趣的:(Fixing "There was a problem with the editor vi" for Git)