You can install the command line tools from the File menu, Install command line tools.
/usr/local/bin/bcomp
: Launches comparison and waits for it to complete./usr/local/bin/bcompare
: Launches comparison and returns immediately.
[diff]
tool = bcomp
[difftool]
prompt = false
[difftool "bcomp"]
trustExitCode = true
cmd = /usr/local/bin/bcomp \"$LOCAL\" \"$REMOTE\"
To launch a diff in Beyond Compare, run:
git difftool file.ext
[merge]
tool = bcomp
[mergetool]
prompt = false
[mergetool "bcomp"]
trustExitCode = true
cmd = /usr/local/bin/bcomp \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
To launch a 3-way merge in Beyond Compare, run:
git mergetool file.ext
- title: Use Beyond Compare with Git
- subtitle: Beyond Compare can be configured as the external diff and merge utility in Git.
- author: Jon LaBelle
- date: May 14, 2024
- source: https://www.scootersoftware.com/kb/vcs
- snippet: https://jonlabelle.com/snippets/view/markdown/using-beyond-compare-with-git