[Git] Solution for "error: There was a problem with the editor 'vi'" Error
In Git, I encountered an error when I tried to commit with git commit, wrote a comment in Vim, and then attempted to commit.
$ git commit
error: There was a problem with the editor 'vi'.
Please supply the message using either -m or -F option.
Setting the editor to be used by Git should solve this.
$ which vim
/usr/local/bin/vim
$ git config --global core.editor "/usr/local/bin/vim"
That’s all from the Gemba.
・When git commit Results in Error After Editor Editing - tentete’s Diary