Skip to content

Instantly share code, notes, and snippets.

@OpenSorceress
Forked from betweenbrain/gist:2284129
Created June 3, 2014 05:45
Show Gist options
  • Save OpenSorceress/f65948ae2fb13350af32 to your computer and use it in GitHub Desktop.
Save OpenSorceress/f65948ae2fb13350af32 to your computer and use it in GitHub Desktop.
git archive --output=file.zip HEAD $(git diff --name-only SHA1 SHA2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment