可能是重复问题: github locks up mac terminal when using pull command
我在 Mac 终端上使用 Git。
最近,在尝试执行 git pull
时遇到了一个恼人的问题。
执行 git pull
后,我会收到以下错误消息:
Merge ssh://example.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标志进行合并而无需消息,但即使这样,在我的情况下也似乎不起作用。
我现在有点糊涂,被卡住了,无法将任何更改推送到我的服务器。