Skip to content

Instantly share code, notes, and snippets.

@getdave
Last active December 24, 2015 21:59
Show Gist options
  • Save getdave/6869536 to your computer and use it in GitHub Desktop.
Save getdave/6869536 to your computer and use it in GitHub Desktop.
Generate a list of changed files between two git commit SHA's.
git log --name-only --pretty=oneline --full-index SHA1..SHA2 | grep -vE '^[0-9a-f]{40} ' | sort | uniq
@getdave
Copy link
Author

getdave commented Oct 7, 2013

Obviously you'd need to change SHA1 and SHA2 to be the commit SHA's between which you'd like to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment