We have a template repo that we clone to create our site repos. When we upgrade sites, we just pull in the template repo into our site repo.
I'm trying to compare what's changed in the site repo at the commit that the last template repo was merged in. There may have been new commits made to the template repo that haven't been merged in yet so I don't want to include those in the comparison.
I can compare differences between the two repos using
git diff template/master master
But this compares against the most recent commit in the template repo. Is there a way to compare it at a certain commit?
Something like
git diff template/master@e9d5dd968 master