Skip to content

Instantly share code, notes, and snippets.

@seangenabe
Last active January 11, 2017 11:55
Show Gist options
  • Save seangenabe/3055b7e5701fbe1873835559df63fc00 to your computer and use it in GitHub Desktop.
Save seangenabe/3055b7e5701fbe1873835559df63fc00 to your computer and use it in GitHub Desktop.
Git archive changed files only
git archive --format zip -o patch.zip HEAD (git diff --name-only HEAD^)
git archive --format zip -o current.zip HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment