出现 Please enter a commit message to explain why this merge is necessary,

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.

如果需要需改

按键盘 i 键进入insert模式

修改上面黄色字体,可以选择不修改

 

如果不需要修改

1. 按esc退出

2. 输入  :wq  (linux操作系统命令,强制性写入文件退出)

 

原文地址:https://www.cnblogs.com/naturl/p/11970193.html