【发布时间】:2016-06-10 09:46:57
【问题描述】:
我正在尝试通过终端进行 git 合并。我在分支fix_stuff 上工作,我需要合并回develop。所以我这样做
git checkout develop
git merge --no-ff fix_stuff
现在它似乎是一个文本编辑器 - 仍在终端中 - 具有以下消息
# 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.
果然我按了i,然后输入了我的信息。现在我已经完成了消息,我不知道如何继续。我试过esc x 然后esc q。什么都没有。
我正在通过 Mac El Capitan 使用 Android Studio 终端
【问题讨论】:
-
见this question。你也可以配置不同的合并工具,见this question
-
您可以使用
:x更新并退出