Skip to content

Instantly share code, notes, and snippets.

@fabriceleal
Created June 19, 2013 08:18
Show Gist options
  • Save fabriceleal/5812580 to your computer and use it in GitHub Desktop.
Save fabriceleal/5812580 to your computer and use it in GitHub Desktop.
git compare branches
# http://stackoverflow.com/questions/9834689/compare-two-branches-in-git
# https://www.kernel.org/pub/software/scm/git/docs/git-diff.html
# Normal diff
git diff a_branch..master
# Only filenames
git diff --numstat a_branch..master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment