Skip to content

Instantly share code, notes, and snippets.

View mereformalities's full-sized avatar

Brant Watrous mereformalities

View GitHub Profile

Using FileMerge (opendiff) with Git on Mountain Lion

FileMerge (opendiff) can really come in handy when you need to visually compare merging conflicts. Other times it's just a nice visual way to review your days work.

The following method works by creating a simple bash script (git-diff-cmd.sh) that sets us up with the proper command line arguments for Git to pass off files to FileMerge.