Skip to content

Instantly share code, notes, and snippets.

@dachinat
Created November 13, 2018 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dachinat/d0b30c0468f4bd4451c448e3ce16adb1 to your computer and use it in GitHub Desktop.
Save dachinat/d0b30c0468f4bd4451c448e3ce16adb1 to your computer and use it in GitHub Desktop.
opendiff with git on macOS single command

Was tested with git version 2.14.1

git config --global alias.opendiff 'difftool --no-prompt --tool opendiff --dir-diff'

and anytime after

git opendiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment