码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-08-04 16:18:38      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:plain   分支   git   技术分享   修改   src   alt   .com   ima   

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,按回车键即可

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

标签:plain   分支   git   技术分享   修改   src   alt   .com   ima   

原文地址:https://www.cnblogs.com/lanshengzhong/p/9418862.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!