开发者

git recursive strategy with multiple ancestors and kdiff3

开发者 https://www.devze.com 2023-03-03 04:15 出处:网络
I\'m running a merge with a scenario where several \"common ancestors\" are available so Git runs \"g开发者_如何学Pythonit merge recursive\" strategy.

I'm running a merge with a scenario where several "common ancestors" are available so Git runs "g开发者_如何学Pythonit merge recursive" strategy.

As such, it runs a merge to create a new ancestor that will, in turn, be used as CA for the contributors I'm working on.

Ok, the problem is the following, there's a file with a conflict which "ancestor" comes from the "recursive merge" performed internally by Git, so, when I try to fix the conflict with git mergetool using KDiff3, I see the following:

git recursive strategy with multiple ancestors and kdiff3

Is this normal? My example is a little bit "too simple" (only one line in the file, so not real), but... will having this common ancestor help?

Thanks!!


You should have no problem in fixing the merge conflicts. This merge strategy was defined as the default one for a reason. Try it (you might want to add a tag to be able to go back if it goes wrong).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号