Show changes in a branch
This will show the changes that have occurred in the branch foo since it branched out from the current branch:
git diff HEAD...foo
The triple-dot (...) basically makes the command above the same as this:
git diff `git merge-base HEAD foo` foo"
Written by Thomas Ferris Nicolaisen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#