Skip to content

Instantly share code, notes, and snippets.

@hereswhatidid
Last active July 18, 2019 19:08
Show Gist options
  • Select an option

  • Save hereswhatidid/8812485 to your computer and use it in GitHub Desktop.

Select an option

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