Fixing "There was a problem with the editor 'vi'" for Git on Mac OS X

来源:互联网 发布:知商金融官网 编辑:程序博客网 时间:2024/06/10 02:46

Supplying the -f (run in foreground) flag fixed it for me. I suspect that this is because the VIM error code is not being returned to git, but it works nonetheless.


$ git config --global core.editor /usr/bin/vim -f




原创粉丝点击