Skip to content

Instantly share code, notes, and snippets.

@grim-reapper
Forked from shawndumas/.gitconfig
Created June 5, 2023 06:48
Show Gist options
  • Save grim-reapper/816115cdfbc366a854d9388cc8bf3c8c to your computer and use it in GitHub Desktop.
Save grim-reapper/816115cdfbc366a854d9388cc8bf3c8c 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