Skip to content

Instantly share code, notes, and snippets.

@hereswhatidid
Created February 7, 2014 21:29
Show Gist options
  • Select an option

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

Select an option

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