Skip to content

Instantly share code, notes, and snippets.

@chiubaca
Created January 25, 2019 10:10
Show Gist options
  • Save chiubaca/1c8e63338ab444e25e7f4def2a719552 to your computer and use it in GitHub Desktop.
Save chiubaca/1c8e63338ab444e25e7f4def2a719552 to your computer and use it in GitHub Desktop.
Using Git to create an archive of changed files.
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