use Winmerge inside of Git to file diff

前端 未结 8 1148
清酒与你
清酒与你 2020-11-27 09:34

Is there a way to use Winmerge inside of git to do Diffs?

8条回答
  •  甜味超标
    2020-11-27 10:10

    git config --global diff.tool winmerge
    git config --global difftool.winmerge.cmd "\"$PROGRAMFILES\\WinMerge\\WinMergeU.exe\" -u -dl \"Local\" -dr \"Remote\" \"\$LOCAL\" \"\$REMOTE\""
    git config --global difftool.prompt false
    

    As per the WinMerge command line manual: "Parameters are prefixed with either a forward slash ( / ) or dash ( - ) character"

提交回复
热议问题