昨天我设置了一台新机器进行开发,这让我觉得我可能错过了某个地方,因为当我跑步时:
$ 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.
有什么想法吗?
提前致谢。
答案 0 :(得分:2)
所以我忘了配置git编辑器,这就是我为vim做的。
$ git config --global core.editor vim