Git Diff and Meld on Windows

后端 未结 5 1235
闹比i
闹比i 2020-12-13 21:03

Has anyone ever made Meld work with Git on Windows? I am trying to make it work and I have no success.

I have Meld installed and when I call it from the command lin

5条回答
  •  感情败类
    2020-12-13 21:22

    Or even better, if you're on a locked-down system where fooling with the path is not allowed or you just don't want to pollute your path space, you can just put in the full path to Meld.

    I also prefer my current working code copy to show up on the left, so I swapped the $REMOTE and $LOCAL arguments. Also mind the conversions of \ to / and don't for get to escape the double quotes.

    [diff]
        tool = meld
    [difftool "meld"]
        cmd = \"C:/Program Files (x86)/Meld/meld/meld.exe\" $REMOTE $LOCAL
    

提交回复
热议问题