Skip to content

Instantly share code, notes, and snippets.

@stepango
Created October 2, 2019 03:50
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 stepango/bbed1c1bc7c09cc9dc3e0f4635cc9f9a to your computer and use it in GitHub Desktop.
Save stepango/bbed1c1bc7c09cc9dc3e0f4635cc9f9a to your computer and use it in GitHub Desktop.
Git diff between master and current branch
git diff $(git merge-base master $(git rev-parse --abbrev-ref HEAD))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment