How can I create an archive of the current repository including local uncommitted changes using git archive?
git archive
This creates a zip archive containing all working tree files except those that are ignored by git:
git ls-files --others --exclude-standard --cached | zip --names-stdin archive.zip