Last active
August 29, 2015 14:25
-
-
Save thrasher/5c9ff24695b3e00006c3 to your computer and use it in GitHub Desktop.
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
# clean the git config | |
git config --global --unset diff | |
git config --global --unset diff.external | |
git config --global --unset diff.tool | |
git config --global --unset difftool.prompt | |
git config --global --unset merge.tool | |
# configure for DiffMerge | |
# https://sourcegear.com/diffmerge/downloads.php | |
git config --global diff.tool diffmerge | |
git config --global difftool.diffmerge.cmd "/usr/bin/diffmerge \"\$LOCAL\" \"\$REMOTE\"" | |
git config --global --add difftool.prompt false | |
git config --global merge.tool diffmerge | |
git config --global mergetool.diffmerge.trustExitCode true | |
git config --global mergetool.diffmerge.cmd "/usr/bin/diffmerge --merge --result=\"\$MERGED\" \"\$LOCAL\" \"\$BASE\" \"\$REMOTE\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment