Configure kdiff3 for git

Configure kdiff3 for git

Using Git bash for windows run the below commands to add kdiff3 as your git default merge tool, before running the below commands please make sure you have installed kdiff3 and the path is same like below, if different then mention that path and add in the global config.

git config –global –add merge.tool kdiff3
git config –global –add mergetool.kdiff3.path “C:/Program Files/KDiff3/kdiff3.exe”
git config –global –add mergetool.kdiff3.trustExitCode false

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

667 total views, 4 views today

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.