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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git中Please enter a commit message to explain why this merge is necessary相关的知识,希望对你有一定的参考价值。

今天在使用git时,git pull和git merge时,经常出现如下错误信息:

Please enter a commit message to explain why this merge is necessary.(请输入提交消息来解释为什么这种合并是必要的)

技术分享

 

解决方法:

1.按“Esc”退出键

2.输入“:wq”,然后按下“Enter”键(说明:要输入英文状态下的冒号)

 

参考文档 :http://blog.csdn.net/ailo555/article/details/52202276

以上是关于git中Please enter a commit message to explain why this merge is necessary的主要内容,如果未能解决你的问题,请参考以下文章

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

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

解决git提交:Please enter a commit message to explain why this merge is necessary

git提示Please enter a commit message to explain why this merge is necessary

git commit 时出现:please enter the commit message for your changes

git commit -m "wrote a readme file" *** Please tell me who you are.xxx