1. 报错现象
2. 报错文字
merge brach "dev" # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. ~ ~ ~ -- INSERT -- recording
大概的意思如下:
# 请输入一个提交消息来解释为什么合并是必要的,
# 特别是当它合并一个更新的上游到一个主题分支。
#
# 以“#”开头的行将被忽略,空消息将中止
# 提交。
3. 解决方法
1. 按键盘字母 i 进入insert 模式;
2. 修改最上面那行黄色合并信息,也可以不修改;
3. 按键盘左上角"Esc"键;
4. 输入":wq",注意是冒号+wq,按回车键即可;