1
昨天我成立了一個新的機器來開發,這讓我覺得我可能錯過了一步的地方,因爲我跑的時候:不能使用「git的承諾-a」
$ git commit -a
我得到如下:
error: cannot run : No such file or directory
error: There was a problem with the editor ''.
Please supply the message using either -m or -F option.
有什麼想法?
在此先感謝。
什麼是**回聲$ EDITOR輸出**? – Tuxdude 2013-02-27 08:48:58
將環境變量'EDITOR'設置爲有意義的內容,例如到'gedit'或'emacsclient'或'vim' .... – 2013-02-27 08:48:58
我真的用'$ git config --global core.editor vim'來解決它,忘了配置git編輯器。抱歉給您帶來不便,並感謝大家的快速響應。 – 2013-02-27 08:50:45