【发布时间】:2019-11-29 11:23:12
【问题描述】:
当git merge 与theirs 一起运行时:
$git merge --strategy-option theirs
合并文件没有帮助:
error: Merging is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
那么这个命令可以帮助我吗?我是否需要手动合并所有(许多..)文件?
我确实查看了Git merge strategy 'theirs' is not resolving modify/delete conflict,但没有一个答案提供了这样做的方法。
【问题讨论】:
-
所以你刚开始说合并,然后当它因冲突而停止时你试图说
git merge --strategy-option theirs,真的是这样吗? -
我一直在使用
bfg删除大文件,显然它开始了merge..? - 所以我猜这个答案间接是肯定的。 -
是的,我不知道 bfg,但您不能在合并过程中进行合并。
标签: git