Created
July 17, 2011 09:17
-
-
Save smithkyle/1087391 to your computer and use it in GitHub Desktop.
git snippet for archiving only the changed files between two given commits
This file contains 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
<commit1> recent commit | |
<commit2> previous commit | |
git archive --format zip -o testing.zip <commit1> `git diff <commit1> <commit2> --name-only` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment