I want to set WinMerge as default diff tool in VS 2015, and i cant do it globally. I need to edit my local ([solution dir]/.git/config) file, and it works perfectly, but when i try to do it globally editing file ([User folder]/.gitconfig) it doesnt work in VS 2015 (standard VS diff tool is used). Its a bit annoying to apply that settings every time i add new solution to Git.
Here's my config
[diff]
tool = winmerge
[difftool]
prompt = true
[difftool "winmerge"]
path = d:\\WinMerge\\winmergeu.exe
cmd = \"d:\\WinMerge\\WinMergeU.exe\" \"$LOCAL\" \"$REMOTE\"
[merge]
tool = winmerge
[mergetool]
prompt = true
[mergetool "winmerge"]
path = d:\\WinMerge\\winmergeu.exe
cmd = \"d:\\WinMerge\\winmergeu.exe\" -u -e -dl \"Local\" -dr \"Remote\" $LOCAL $REMOTE $MERGED
git config merge.tool winmerge
? – Leontineleontyneguitool = winmerge
under[diff]
? That is the only difference I can see compared to my config, which works at least with older VS version (I have Git Extensions plugin though). If the call togit difftool
has option--gui
, Git looks fordiff.guitool
instead ofdiff.tool
. – Eisenberg