27th November 2014

Checking the differences between release tag version with git

Peter Berryman
Senior Developer

If you'd like a summary of the files that are different between what is currently deployed on the live site and what is currently in your branch (e.g. master) then use the following handy git command:

git diff --stat master TAG-ON-LIVE

If you want to know the exact differences inside the files then just use diff without the --stat

git diff master TAG-ON-LIVE