Configure mergetool for git – kdiff3

Download kdiff3
Official site
Run the commands in git:


git config --global merge.tool kdiff3
git config --global mergetool.kdiff3.path "C:/Program Files/KDiff3/kdiff3.exe"
git config --global mergetool.kdiff3.trustExitCode false

git config –global diff.guitool kdiff3
git config –global difftool.kdiff3.path “C:/Program Files/KDiff3/kdiff3.exe”
git config –global difftool.kdiff3.trustExitCode false

Leave a Reply

Your email address will not be published. Required fields are marked *