-
-
Save harshbaid/ce7d76737275d6add8d7fb76d51fca2e to your computer and use it in GitHub Desktop.
Using Visual Studio AS Git Merge Tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[diff] | |
tool = vsdiffmerge | |
[difftool] | |
prompt = true | |
[merge] | |
tool = vsdiffmerge | |
[mergetool] | |
prompt = true | |
[difftool "vsdiffmerge"] | |
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //ignorespace //t | |
keepBackup = false | |
[mergetool "vsdiffmerge"] | |
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //ignorespace //m | |
keepBackup = false | |
trustExitCode = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<MergeToolChooserConfig> | |
<!-- TDS Item Merge Tool --> | |
<MergeTool Extension=".item" Cmd=".\SitecoreItemMerge.exe" Parameters=""$1" "$2" "$3" "$4""/> | |
<!-- Default entry --> | |
<MergeTool Cmd="C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe" Parameters=""$1" "$2" "$3" "$4" //ignorespace //m"/> | |
</MergeToolChooserConfig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[diff] | |
tool = vsdiffmerge | |
[difftool] | |
prompt = true | |
[merge] | |
# tool = vsdiffmerge // Commented out because we're switching over to TDS Switcher | |
tool = merge_chooser | |
[mergetool] | |
prompt = true | |
[difftool "vsdiffmerge"] | |
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //ignorespace //t | |
keepBackup = false | |
[mergetool "vsdiffmerge"] | |
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //ignorespace //m | |
keepBackup = false | |
trustExitCode = true | |
[mergetool "merge_chooser"] | |
cmd = \"C:\\Program Files (x86)\\Hedgehog Development\\Team Development for Sitecore (VS2017)\\MergeToolChooser.exe\" \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Global .gitconfig location is -