ToB企服应用市场:ToB评测及商务社交产业平台

标题: Git 合并时出现 Please enter a commit message to explain why this merge [打印本页]

作者: 丝    时间: 2024-12-2 03:13
标题: Git 合并时出现 Please enter a commit message to explain why this merge
1. 报错征象




2. 报错文字

  1. merge brach "dev"
  2. # Please enter a commit message to explain why this merge is necessary,
  3. # especially if it merges an updated upstream into a topic branch.
  4. #
  5. # Lines starting with '#' will be ignored, and an empty message aborts
  6. # the commit.
  7. ~
  8. ~
  9. ~
  10. -- INSERT -- recording
复制代码
大概的意思如下:
  1. # 请输入一个提交消息来解释为什么合并是必要的,  
  2. # 特别是当它合并一个更新的上游到一个主题分支。  
  3. #   
  4. # 以“#”开头的行将被忽略,空消息将中止  
  5. # 提交。
复制代码


3. 办理方法

1. 按键盘字母 i 进入insert 模式;
2. 修改最上面那行黄色合并信息,也可以不修改;
3. 按键盘左上角"Esc"键;
4. 输入":wq",注意是冒号+wq,按回车键即可;

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4