git pull 报错 Please enter a commit message to explain why this merge is nece
2020-05-13 14:36:36 点击:

git pull拉取代码直接打开了一个文件,并提示:Please enter a commit message to explain why this merge is necessary 翻译
git pull 拉取代码直接打开了一个文件,并提示:

Please enter a commit message to explain why this merge is necessary.


翻译过来为:请输入一条提交消息来解释为什么需要合并,



解决方法:不用理会,直接保存退出。

1.按键盘左上角"Esc"。
2.输入":wq",注意是冒号+wq,按回车键即可。

保存后会自动拉取最新。



相关热词搜索:

上一篇:git提交报错 HTTP Basic: Access denied fatal: Authentication failed.
下一篇:aws 亚马逊云增加硬盘大小