我做了git pull.之后我收到了这条消息:
# 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.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
".git/MERGE_MSG" 7L, 302C
Run Code Online (Sandbox Code Playgroud)
我的问题是 - 我需要在这做什么?因为我无法输入任何消息.
您可能正在使用 VI 作为编辑器。您可以执行两件事:按“i”或“a”,您将进入键入模式,可以使用 ESC 键退出该模式,然后按“:wq”或“ZZ”,这将保存文件。
另一种方法可能是在命令行上使用 -m 开关,这将允许您跳过此屏幕,并立即提供消息(-m“我的消息在这里”)
| 归档时间: |
|
| 查看次数: |
10733 次 |
| 最近记录: |