如果是 Emacs 编辑器,输入 Ctrl X + Ctrl S(保存),再输入Ctrl X + Ctrl C(退出)

如果是VIM编辑器,输入 ESC + :wq

UNIX 系统默认打开的是 Emacs 编辑器(大概?)

 

 

参考:https://stackoverflow.com/questions/13239368/git-how-to-close-commit-editor/13239389

posted on 2019-02-08 13:43  咸水鱼  阅读(1055)  评论(0编辑  收藏  举报