报错如下:
Merge branch 'branch'
# 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”键可进入插入模式
- 这时可以修改最上面的那一行(Merge branch ‘branch’),改成你想写的合并原因
- 按键盘上的“Esc”键退出插入模式
- 最后在最下面输入“ :wq ”后按回车键即可