Skip to content

Instantly share code, notes, and snippets.

@aaronhoffman
Created March 2, 2017 02:50
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save aaronhoffman/60536ceb0812ce0ab0f594ae2e78f475 to your computer and use it in GitHub Desktop.
Save aaronhoffman/60536ceb0812ce0ab0f594ae2e78f475 to your computer and use it in GitHub Desktop.
Configure Beyond Compare 4 as git diff tool on windows 10
git config --global diff.tool bc
git config --global difftool.bc.path "C:\Program Files\Beyond Compare 4\BComp.exe"
git config --global merge.tool bc
git config --global mergetool.bc.path "C:\Program Files\Beyond Compare 4\BComp.exe"
git config --global alias.mydiff "difftool --dir-diff --tool=bc --no-prompt"
@Shallako
Copy link

Shallako commented Dec 5, 2018

Used it 12/5/18 successfully.

@mstassen
Copy link

Does this configuration also affects eclipse mergetool ?
I am looking for a way to get eclipse to use bc as compare/diff tool...

@miniGweek
Copy link

Thanks a lot mate!
Writing this on 6th July 2022. Worked for me.
Key thing to remember is to launch your diff by running
git mydiff ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment