Skip to content

Instantly share code, notes, and snippets.

@slaughtering
Forked from aaronhoffman/git-bc.cmd
Created May 29, 2020 10:01
Show Gist options
  • Save slaughtering/a94a0e080959493edadc16019959cbf4 to your computer and use it in GitHub Desktop.
Save slaughtering/a94a0e080959493edadc16019959cbf4 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