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

来源:互联网 发布:java 微信 signature 编辑:程序博客网 时间:2024/05/18 02:21

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  

http://blog.csdn.net/fudesign2008/article/details/8275862

阅读全文
0 0
原创粉丝点击