http://git-scm.com/book/en/Customizing-Git-Git-Configuration $ git config --global core.editor vim 转载于:https://www.cnblogs.com/iwangzheng/p/3798178.html