Last active
December 17, 2015 11:09
-
-
Save k4gdw/5600658 to your computer and use it in GitHub Desktop.
Run this from your git BASH prompt. You will also need to make sure that the path to SourceGear's DiffMerge program, "sgdm.exe" in the current version, is included in the PATH environment variable. On 32bit versions of Windows that path defaults to, "C:\Program Files\SourceGear\Common\DiffMerge". On 64bit versions it'll default to, "C:\Program F…
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
git config --global merge.tool diffmerge | |
git config --global mergetool.diffmerge.cmd "sgdm.exe --merge --result=\$MERGED \$LOCAL \$BASE \$REMOTE" | |
git config --global mergetool.diffmerge.trustExitCode true | |
# If you want to disable git's backup file creation uncomment the following line. | |
# Otherwise you might need to add *.orig into your .gitignore to prevent them | |
# being added to your repository. | |
#git config --global mergetool.keepBackup false | |
git config --global diff.tool diffmerge | |
git config --global difftool.diffmerge.cmd "sgdm.exe \$LOCAL \$REMOTE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment