新公司的開發環境是ubuntu,默認的編輯器是nano,不會用,決定將其替換成vim。 git
git config --global core.editor "vim" export GIT_EDITOR=vim 複製代碼