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

posted @ 2017-07-27 17:35  没时间看海  阅读(679)  评论(0编辑  收藏  举报