Skip to content

Instantly share code, notes, and snippets.

@amrography
Created September 3, 2018 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amrography/fab354545a11d0c2d94f7ca45a1aedd8 to your computer and use it in GitHub Desktop.
Save amrography/fab354545a11d0c2d94f7ca45a1aedd8 to your computer and use it in GitHub Desktop.
Create archive of files changed between 2 gits commits
zip modified-files.zip $(git diff --name-only HASH1 HASH2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment