Skip to content

Instantly share code, notes, and snippets.

@tommynyquist
Last active August 29, 2015 14:03
Show Gist options
  • Save tommynyquist/e67303d84c6414122ca9 to your computer and use it in GitHub Desktop.
Save tommynyquist/e67303d84c6414122ca9 to your computer and use it in GitHub Desktop.
add to your .gitconfig
[alias]
branch-point = merge-base HEAD @{u}
brdiff = ! git diff -M $(git branch-point)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment