【发布时间】:2012-12-15 06:35:30
【问题描述】:
我正在通过 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 相当陌生,所以这可能是我犯的一个简单错误。
我读到here,对于某些人来说,此时文本编辑器会打开。这当然不是我的情况。它还在那里声明我可以使用 --no-edit 标志在没有消息的情况下进行合并,但即使这在我看来也不起作用。
我现在有点不知所措,卡住了,无法将任何更改推送到我的服务器。
【问题讨论】:
标签: git git-merge git-pull commit-message