Skip to content

Instantly share code, notes, and snippets.

@gnaggnoyil
Forked from shawndumas/.gitconfig
Created June 7, 2018 02:36
Show Gist options
  • Save gnaggnoyil/32cabcb2be703a48249f1391d2a23afa to your computer and use it in GitHub Desktop.
Save gnaggnoyil/32cabcb2be703a48249f1391d2a23afa to your computer and use it in GitHub Desktop.
Using WinMerge as the git Diff/Merge Tool on Windows 64bit
[mergetool]
prompt = false
keepBackup = false
keepTemporaries = false
[merge]
tool = winmerge
[mergetool "winmerge"]
name = WinMerge
trustExitCode = true
cmd = "/c/Program\\ Files\\ \\(x86\\)/WinMerge/WinMergeU.exe" -u -e -dl \"Local\" -dr \"Remote\" $LOCAL $REMOTE $MERGED
[diff]
tool = winmerge
[difftool "winmerge"]
name = WinMerge
trustExitCode = true
cmd = "/c/Program\\ Files\\ \\(x86\\)/WinMerge/WinMergeU.exe" -u -e $LOCAL $REMOTE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment