Git提交错误 error: There was a problem with the editor 'vi'.

在Mac上,可能之前重装vim变动了一些设置,所以才会有这个错误,导致git不能提交。


image

查了后解决方案很简单,直接输入:

git config --global core.editor $(which vim)

猜你喜欢

转载自blog.csdn.net/weixin_34348174/article/details/86943532