我有两个分支:
- 掌握
- 时间
tmp
分支是分离的
,我需要将tmp
分支放在上面,master
优先解决冲突tmp
当我做
git checkout tmp
git rebase --strategy=recursive -X theirs master
我得到了错误首先,倒带头在上面重播你的工作......
fatal: Could not parse object '0a722ac51071ecb4d00b1ef45384aac227b942a0^'
Unknown exit code (128) from command: git-merge-recursive 0a722ac51071ecb4d00b1ef45384aac227b942a0^ -- HEAD 0a722ac51071ecb4d00b1ef45384aac227b942a0
当我做
git checkout tmp
git cherry-pick --strategy=recursive -X theirs 0a722ac..384144a
工作正常
有什么区别或者我怎么能对 rebase 做同样的事情?