admin管理员组

文章数量:1566223

提示信息

从git拉取遇到的情况,看到这个不要慌,不是错。

#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.

方案一:

  • 直接关闭当前窗口,再重新打开新的窗口;
  • 可以继续操作;但个人建议不要用这种办法,迫不得已,太麻烦了。

方案二:

1、当出现上述情况,可按键盘左上角的“Ese”退出键;

2、输入“:wq”,注意是英文输入状态下的冒号,然后按下“Enter”键即可。( “ :wq”是啥意思呢???Linux操作系统时的命令: 强制性写入文件并退出。)

本文标签: commitenterquotmergeexplain