Last Updated: February 25, 2016
·
669
· Marko Klemetti

Difference in git commits between branches

Sometimes it is helpful to check what commits you are going to merge in production instead of the actual file changes.

To see the commits you are going to merge, run

git log <target_branch>..<source_branch>

or as in my branch structure

git log production..master