当使用主题分支"B"合并到"A"时git merge,我会遇到一些冲突.我知道使用"B"中的版本可以解决所有冲突.
git merge
我知道git merge -s ours.但我想要的是类似的东西git merge -s theirs.
git merge -s ours
git merge -s theirs
它为什么不存在?在与现有git命令冲突合并后,如何获得相同的结果?(git checkout来自B的每个未合并文件)
git
git checkout
更新:从分支A(合并提交点到树的B版本)丢弃任何东西的"解决方案"不是我想要的.
git git-merge
git ×1
git-merge ×1