Skip to content

Instantly share code, notes, and snippets.

@alkampfergit
Created March 31, 2015 09:30
Show Gist options
  • Save alkampfergit/b96a3cfe05759bcab098 to your computer and use it in GitHub Desktop.
Save alkampfergit/b96a3cfe05759bcab098 to your computer and use it in GitHub Desktop.
Git configuration for Diff and Merge in Visual Studio
[diff]
tool = vsdiffmerge
[difftool]
prompt = true
[difftool "vsdiffmerge"]
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t
keepbackup = false
trustexistcode = true
[merge]
tool = vsdiffmerge
[mergetool]
prompt = true
[mergetool "vsdiffmerge"]
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //m
keepbackup = false
trustexistcode = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment