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

431 total views, 2 views today

About Mirthbees 678 Articles
Blogger, Innovator, Developer and Enterpreneur. Founder of GuruRecharge, Readymade online recharge script. Lead Developer in Bookrate.in

Be the first to comment

Leave a Reply

Your email address will not be published.


*


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