Skip to content

Instantly share code, notes, and snippets.

@thomas479
Created August 22, 2017 06:08
Show Gist options
  • Save thomas479/f12e951c4b6ce9d48f475748a5e88f4f to your computer and use it in GitHub Desktop.
Save thomas479/f12e951c4b6ce9d48f475748a5e88f4f to your computer and use it in GitHub Desktop.
Create update.zip of current branch (with complete folderstructure)

git archive -o update.zip HEAD $(git diff --name-only [hash_from_where_to_build_zip] --diff-filter=ACMRTUXB)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment