Created
January 25, 2019 10:10
-
-
Save chiubaca/1c8e63338ab444e25e7f4def2a719552 to your computer and use it in GitHub Desktop.
Using Git to create an archive of changed files.
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
Working on Windows | |
git diff -z --name-only HEAD^ | xargs -0 git archive -o update.zip HEAD | |
//https://tosbourn.com/using-git-to-create-an-archive-of-changed-files/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment