我正在通过 Mac 上的终端使用 git。我最近在尝试执行时遇到了一个烦人的问题git pull
。执行后,git pull
我收到以下错误消息:
Merge ssh://domain.com/repository.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.
问题是我无法输入任何内容。我的终端似乎卡住了,我似乎无能为力。我对 git 相当陌生,所以这可能是我犯的一个简单错误。
我在这里读到,对于某些人来说,此时文本编辑器会打开。这当然不是我的情况。它还在那里声明我可以使用 --no-edit 标志在没有消息的情况下进行合并,但即使这在我看来也不起作用。
我现在有点无能为力,卡住并且无法将任何更改推送到我的服务器。