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

这些天在推送过程中偶尔出现一个问题

一直提示Please enter a commit message to explain why this merge is necessary.

在查询过一番后发现下面方法有效

1.按键盘字母 i 进入insert模式

2.修改最上面那行黄色合并信息,可以不修改

3.按键盘左上角"Esc"

4.输入":wq",注意是冒号+wq,按回车键即可

然后继续

git add .

git commit -m"..."

git push

原文地址:https://www.cnblogs.com/wqja/p/7246186.html