Compare two GIT branches
To compare two branches in git (i.e. staging and develop) use the following command:
git diff staging..develop
This will produce the full diff output. For a shorter summary use this:
git diff --stat staging..develop
See more examples: http://git-scm.com/docs/git-diff#_examples
Written by Stefan Urbansky
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Diff
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#