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

94 total views, 4 views today

About: Mirthbees

Blogger, Innovator, Developer and Enterpreneur. Founder of GuruRecharge, Readymade online recharge script. Lead Developer in