合并代码时,处理Merge branch ‘dev‘ of ssh: xxxxxx问题

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

Merge branch 'dev' of ssh: xxxxxx
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,按回车键即可。

猜你喜欢

转载自blog.csdn.net/kuang_nu/article/details/129593456