git commit
提交时,sublime文本编辑器打开了,我编写了提交信息并保存关闭了编辑器,但更改没有被提交。终端卡在了git commit
上。我在网上搜索到一个有同样问题的人,并应用了相同的修复方法,没有考虑任何事情。我运行了以下命令:
git config --global core.editor "mate -w"
现在我运行 git commit
时出现了一个新错误:
mate -w: 1: mate -w: mate: not found error: 编辑器 'mate -w' 出现问题。 请使用 -m 或 -F 选项提供提交信息。
求助。我对 Git 和使用 Ubuntu 14.04 非常陌生。