使用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.
解决输入文章来源地址https://www.toymoban.com/news/detail-507863.html
- 键盘输入‘i’
- 键盘输入‘esc’
- 键盘输入‘:wq’
- 键盘输入‘enter’,
- 提交代码成功
文章来源:https://www.toymoban.com/news/detail-507863.html
到了这里,关于解决git提交:Please enter a commit message to explain why this merge is necessary的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!