Git Stuff I Always Forget

Get the changed file names between two revisions:

git diff –name-only SHA1 SHA2

Get the changed file since a revision (includes local changes not yet pushed):

git diff –name-only SHA1

Leave a Reply

Your email address will not be published. Required fields are marked *