Skip to content

Instantly share code, notes, and snippets.

@weiyang-github
Forked from aaronhoffman/git-bc.cmd
Created August 15, 2023 08:07
Show Gist options
  • Save weiyang-github/82a25966a223e678352259dbc17f9d71 to your computer and use it in GitHub Desktop.
Save weiyang-github/82a25966a223e678352259dbc17f9d71 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