设置git编辑器
$ git config --global core.editor vim
git配置默认编辑器
# Set Emacs as the default editor
$ git config --global core.editor emacs
# Set Visual Studio Code as the default editor
$ git config --global core.editor code
配置git的编辑器
$ git config --global core.editor emacs