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.

Revisions

  1. @aaronhoffman aaronhoffman created this gist Mar 2, 2017.
    5 changes: 5 additions & 0 deletions git-bc.cmd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    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"