Git: How configure KDiff3 as merge tool and diff tool

前端 未结 7 1068
长情又很酷
长情又很酷 2020-11-28 17:25

Recently I was using GitExtension 2.46, but the Git version that has the same is 1.9.4.msysgit.2. Willing to use only Git commands, I uninstalled GitExtension and install th

7条回答
  •  借酒劲吻你
    2020-11-28 18:11

    I needed to add the command line parameters or KDiff3 would only open without files and prompt me for base, local and remote. I used the version supplied with TortoiseHg.

    Additionally, I needed to resort to the good old DOS 8.3 file names.

    [merge]
        tool = kdiff3
    
    [mergetool "kdiff3"]
        cmd = /c/Progra~1/TortoiseHg/lib/kdiff3.exe $BASE $LOCAL $REMOTE -o $MERGED
    

    However, it works correctly now.

提交回复
热议问题