新公司的开发环境是ubuntu,默认的编辑器是nano,不会用,决定将其替换成vim。 git
git config --global core.editor "vim" export GIT_EDITOR=vim 复制代码