Forked from RohanBhanderi/Git_mergetool_commands
Last active
December 9, 2021 08:51
-
-
Save seathief/912479d0da40115416fae4ac9cbd180c to your computer and use it in GitHub Desktop.
Git Mergetool and difftool with Beyond Compare 4
This file contains hidden or 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 Mergetool and difftool with Beyond Compare 4 | |
//Install command line tools | |
//For osx | |
//IF running this command in git bash then escape $ with \ | |
git config --global diff.tool bcomp | |
git config --global difftool.bcomp.cmd "\"bcomp\" \"\$LOCAL\" \"\$REMOTE\"" | |
git config --global difftool.prompt false | |
git config --global merge.tool bcomp | |
git config --global mergetool.bcomp.cmd "\"bcomp\" \"\$LOCAL\" \"\$LOCAL\" \"\$REMOTE\" \"\$BASE\" \"\$MERGED\"" | |
git config --global mergetool.bcomp.trustExitCode true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment