git merge recursive theirs, how does it work?

后端 未结 2 676
礼貌的吻别
礼貌的吻别 2020-12-24 11:48

I\'m having a bit of a problem. We have our own CMS which is using git for collaboration and versioning and stuff.

Now I have two git repositories A and B, A which i

2条回答
  •  清酒与你
    2020-12-24 12:07

    You must use this form to pass merge strategy options:

    git merge -s recursive -Xtheirs # short options
    git merge --strategy recursive --strategy-option theirs # long options
    

    Also make sure your version supports -Xtheirs, that's a quite recent feature(?)

提交回复
热议问题