小编imr*_*an3的帖子

Git-commit无法打开vim

最近我安装bash-it到我的终端.现在,当我尝试执行git commit终端时显示我的错误:

/usr/bin/mate -w: /usr/bin/mate: No such file or directory error: cannot run /usr/bin/mate -w: No such file or directory error: There was a problem with the editor '/usr/bin/mate -w'. Please supply the message using either -m or -F option.

之前bash-it,commit命令正确打开了vim.当然我已经尝试将core.editorin git 更改为"vim",但无论如何它都无法正常工作.

你能帮我解决这个问题吗?我非常喜欢vim,它非常简单快速...我不想使用TextMate来编辑提交消息.

PS:我正在使用Mac OSX

git vim bash commit git-commit

11
推荐指数
4
解决办法
8360
查看次数

标签 统计

bash ×1

commit ×1

git ×1

git-commit ×1

vim ×1