How to Conclude a Git Cherry-Pick?

前端 未结 5 1265
猫巷女王i
猫巷女王i 2021-01-01 08:41

Yesterday I cherry-picked two commits into my main branch, one of them caused merge conflicts and I resolved them, committed and pushed them to origin. Today I am attempting

5条回答
  •  醉话见心
    2021-01-01 09:12

    If the git cherry-pick --continue doesn't work, that means git is too old: that option was introduced for git 1.7.8 (Dec. 2011) in commit 5a5d80f

    It works by dropping the first instruction from .git/sequencer/todo and performing the remaining cherry-picks listed there, with options (think "-s" and "-X") from the initial command listed in ".git/sequencer/opts".

    These days (2014), that would be the command to use when you see "You have not concluded your cherry-pick".

提交回复
热议问题