最佳答案
昨天我挑选了两个提交进入我的主分支,其中一个引起了合并冲突,我解决了它们,提交并将它们推到源头。今天,我试图从服务器上拉出时,我得到以下错误:
$ git pull
fatal: You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists).
Please, commit your changes before you can merge.
$
Git 状态显示:
$ git status
# On branch main
# Your branch is behind 'origin/main' by 2 commits, and can be fast-forwarded.
#
$
我试过以下方法,但没有效果:
$ git cherry-pick --continue
usage: git cherry-pick [options] <commit-ish>
$
有什么办法可以解决这个问题吗? 提前谢谢!