Last Updated: February 25, 2016
· tfnico

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

The triple-dot (...) basically makes the command above the same as this:

git diff `git merge-base HEAD foo` foo"