How to compare two remote branches using git
I can’t believe it took me so long to find the answer to this question. Hopefully this will help others out.
git diff --name-only origin/release-candidate origin/master
Before I deploy my newest code to production I want to double check that the files that I think I’m pushing out are the ones I’m actually pushing out. This gives me a list of files that have changed, and if I see some that I’m not expecting in that list, I know something went wrong with a merge somewhere.

Activity