Code Compare Integration with TortoiseGit
In order to set Code Compare as the default diff tool for TortoiseGit, perform the following steps:
- Select TortoiseGit → Settings from the TortoiseGit popup menu in Windows Explorer.
- Switch to the Diff Viewer page.
- Select the External radio button.
- Command: " [InstallationDir]\CodeCompare.exe" /SC=Git %base %mine
- To work with comments in Review Assistant, you need to specify additional arguments: /SC=TortoiseGit /p1=%bpath /p2=%ypath /r1=%brev /r2=%yrev %base %mine

In order to set Code Compare as the default merge tool for TortoiseGit , perform the following steps:
- Select TortoiseGit → Settings from the TortoiseGit popup menu in Windows Explorer.
- Switch to the Settings → External Programs → Merge Tool page.
- Select the External radio button.
- Command: " [InstallationDir]\CodeMerge.exe" /TF=%theirs /MF=%mine /RF=%merged /BF=%base /REMOVEFILES

Note: Use your product installation folder instead of [InstallationDir]. By default, it is C:\Program Files\Devart\Code Compare.
For a brief introduction to the features of our diff and merge tool, refer to the product's overview page.