Skip to content

Instantly share code, notes, and snippets.

@hereswhatidid
Last active July 18, 2019 19:08
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 hereswhatidid/8812485 to your computer and use it in GitHub Desktop.
Save hereswhatidid/8812485 to your computer and use it in GitHub Desktop.
Puts the modified files in an archive using git
git archive -o update.zip HEAD $(git diff --name-only 8de5622^)
git archive -o update.zip HEAD $(git diff --name-only HEAD^)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment