Git Diff with Beyond Compare

前端 未结 17 2118
醉酒成梦
醉酒成梦 2020-11-30 16:39

I have succeeded in getting git to start Beyond Compare 3 as a diff tool however, when I do a diff, the file I am comparing against is not being loaded. Only the latest ver

17条回答
  •  南笙
    南笙 (楼主)
    2020-11-30 16:57

    Run these commands for Beyond Compare 3(if the BCompare.exe path is different in your system, please replace it according to yours):

    git config --global diff.tool bc3
    git config --global difftool.bc3.cmd "\"c:/program files (x86)/beyond compare 3/BCompare.exe\" \"$LOCAL\" \"$REMOTE\""
    git config --global difftool.prompt false
    

    Then use git difftool

提交回复
热议问题