Created
May 31, 2016 17:50
-
-
Save robertfsegal/b48bee32ce44ca62b3ecb80a1efe2c36 to your computer and use it in GitHub Desktop.
Archive a range of commits into a zip
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
| # Taken from http://tosbourn.com/using-git-to-create-an-archive-of-changed-files/ | |
| # | |
| git archive -o ~/Desktop/update.zip HEAD $(git diff --name-only f0ae46ac15a3d420c08de8ab440b4eb80b66bf7a --diff-filter=ACMRTUXB) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment