Last active
January 11, 2017 11:55
-
-
Save seangenabe/3055b7e5701fbe1873835559df63fc00 to your computer and use it in GitHub Desktop.
Git archive changed files only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git archive --format zip -o patch.zip HEAD (git diff --name-only HEAD^) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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