Skip to content

Instantly share code, notes, and snippets.

@hereswhatidid
Created February 7, 2014 21:29
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/8872266 to your computer and use it in GitHub Desktop.
Save hereswhatidid/8872266 to your computer and use it in GitHub Desktop.
Create an archive of files modified within the given commit.
git archive -o update.zip HEAD $(git diff --name-only COMMITIDHERE^)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment