-
Notifications
You must be signed in to change notification settings - Fork 174
VCS Integration
Jean-Rémy Falleri edited this page Feb 14, 2024
·
7 revisions
To integrate GumTree with VCSs, you first have to place the gumtree executable (either gumtree
on Linux and Mac OS or gumtree.bat
on Windows) in your path.
To use GumTree within git you can use the following command :
git difftool -x gumtree webdiff --d
(by replacing gumtree
by the name of the executable on your system)
You can also set gumtree as the default external diff tool by adding this content in ~/.gitconfig
:
[diff]
tool = gumtree
[difftool "gumtree"]
cmd = gumtree webdiff $LOCAL $REMOTE
and then use git difftool -d
.
You can also integrate our Docker container with git, see more information on the README of our Dockerfile.