最近我安装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