Skip to content

Instantly share code, notes, and snippets.

@rcholic
Forked from aaronhoffman/git-bc.cmd
Created June 6, 2018 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rcholic/bf36d51df1049a8d1039192720a36333 to your computer and use it in GitHub Desktop.
Save rcholic/bf36d51df1049a8d1039192720a36333 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment