Integrating with Git

Araxis Merge integrates tightly with Git . Araxis provides a Git File-System Plugin to enable Merge to access files in Git depots directly. For file comparisons (but not folder comparisons), Merge is also able to populate the Versions button drop-down versions menu with other revisions of each file being compared. For more information, see Comparing Text Files (or Typed/Pasted Text).

Integration with Git requires the Professional Edition of Merge to enable the comparison of two modified versions of a file with their common ancestor.

Git can also be configured to use Merge for file comparison and merge operations.

The following configuration steps have been tested with Git v2.24.0.

To use Araxis Merge for file comparison and file merging:
Examples of using the git ad and ads aliases:

The git difftool command is a frontend to git diff and thus accepts git diff options and arguments. As the Git ad and ads aliases defined in the above configuration are simply shortcuts for invoking git difftool, this means that you can in general pass git diff arguments to git ad and git ads. The examples below show some possibilities, but are by no means exhaustive.

The documentation on specifying Git revisions and ranges may also be helpful when considering how best to invoke git ad.