【发布时间】:2013-04-11 15:30:36
【问题描述】:
为什么我无法使用带有 -3 选项的 git apply :
$ git apply --3way /tmp/0001-my-patch.patch
error: patch failed: a.h:9
Falling back to three-way merge...
Applied patch to 'a.h' cleanly.
error: patch failed: b.c:6
Falling back to three-way merge...
Applied patch to 'b.c' cleanly.
error: patch failed: drivers/Kconfig:1882
Falling back to three-way merge...
Applied patch to 'drivers/Kconfig' with conflicts.
U drivers/Kconfig
【问题讨论】:
-
这里的问题是什么?它正在尝试正常应用,然后按照指定回退到 3 路。
-
合并工具怎么打不开?
-
我不记得我是怎么解决的了,但是,确保 .gitconfig 有正确的 mergetool 配置
标签: git git-merge-conflict mergetool git-apply