Skip to content

Instantly share code, notes, and snippets.

@Andy-set-studio
Last active October 23, 2017 20:20
Show Gist options
  • Save Andy-set-studio/db25787760a71584d0f29d4b951a4700 to your computer and use it in GitHub Desktop.
Save Andy-set-studio/db25787760a71584d0f29d4b951a4700 to your computer and use it in GitHub Desktop.
[Git changes between hashes] Get the changes between two commit hashes. This will create a file called "changes.txt" in the root of your repo with a list of changes. Andy's tip of the day: go one commit back for OLD_HASH because it'll miss the first commit of your changes otherwise ๐Ÿ‘ #gitTricks
git diff --name-only OLDEST_HASH NEWSEST_HASH > changes.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment