Doing a three-way compare with Git and KDiff3

前端 未结 2 973
误落风尘
误落风尘 2021-01-11 09:19

Is it possible to set Git up so that I can use the three-way compare in KDiff3?

I have two branches that are far too different to auto-merge them, I simply have to c

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-11 10:13

    Run this on the command line:

    git config --global mergetool.kdiff3.path /path/for/your/kdiff3/binary  
    

    Then, when solving conflicts you just have to do:

    git mergetool --tool=kdiff3
    

提交回复
热议问题