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

Posted lxwphp

tags:

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

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

请输入提交消息来解释为什么这种合并是必要的

技术分享图片

git 在pull或者合并分支的时候有时会遇到这个界面。可以不管(直接下面3,4步),如果要输入解释的话就需要:

1.按键盘字母 i 进入insert模式

2.修改最上面那行黄色合并信息,可以不修改

3.按键盘左上角"Esc"

4.输入":wq",注意是冒号+wq,按回车键即可

https://www.cnblogs.com/wei325/p/5278922.html

以上是关于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