There was a problem with the editor ‘vi’
来源:互联网 发布:巫师3上古卷轴5 知乎 编辑:程序博客网 时间:2024/05/22 05:11
There was a problem with the editor ‘vi’
在项目中通过git commit -m'modify message'
提交代码,发现提交的modify message
不太准确,想要修改。使用git commit --amend
命令修改modify message
,在vim
中编辑完message
之后,w+q
退出的时候报错且message
保存失败,
错误信息如下:
error: There was a problem with the editor 'vi'.
Please supply the message using either -m or -F option.
解决方案:
git config --global core.editor /usr/bin/vim
在次执行git commit --amend
就OK了。
参考:
http://tooky.co.uk/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x/
阅读全文
0 0
- There was a problem with the editor ‘vi’
- Fixing "There was a problem with the editor 'vi'" for Git on Mac OS X
- Mac git amend There was a problem with the editor 'vi'.
- Git commit时候发生"error: There was a problem with the editor 'vi
- There was a problem with the editor 'vi' for Git on Mac OS X
- 修复Mac下命令行Git无法在vi中commit的错误-- here was a problem with the editor 'vi'.
- There was a problem communicating with the PayPal servers. Please try again
- There was a problem with reindexing process 解决方法
- There was a problem confirming the ssl certificate ……
- Excel 2010出现there was a problem sending the command to the program解决
- Excel - There was a problem sending the command to the program
- Excel 错误提示“There was a problem sending the command to the program”
- 解决yum升级的问题“There was a problem importing one of the Python modules”
- 在ibatis的提示出错:“The file cannot be validated as there was a connection problem. ”
- The file cannot be validated as there was a connection problem. struts-config.xml
- There was a problem getting an AppDomain to run the transformation from the host. The process cannot
- 集成google+1组件,提示There was a temporary problem with your +1 Please try again later
- There is a problem with the configuration server. (/usr/libexec/gconf-sanity-check-2 exite
- List接口
- 纯css样式实现盒子 3D 旋转、鼠标悬停效果
- 状态栏通知网络链接的情况(wifi 2g/3g/4g/无网络链接状态)
- PHP如何解决网站大流量与高并发的问题
- android笔记--Service与AIDL
- There was a problem with the editor ‘vi’
- java 中的checked exception vs unchecked exception及异常处理或抛出原则
- 使用grep查看匹配行的前后n行信息
- 垃圾球浅谈Javascript(一)
- hdoj 2255 奔小康赚大钱 (KM算法 详解+模板) && HDU 1533 Going Home (二分图最小权匹配 KM模板)纯模板
- 模板模式
- Python学习笔记(3)用户输入&函数
- 开始写些读书笔记
- 正方教务系统批量解密-VB