UNIX 系統下退出 git commit 編輯器

若是是 Emacs 編輯器,輸入 Ctrl X + Ctrl S(保存),再輸入Ctrl X + Ctrl C(退出)git

若是是VIM編輯器,輸入 ESC + :wq編輯器

UNIX 系統默認打開的是 Emacs 編輯器(大概?)spa

 

 

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

相關文章
相關標籤/搜索