How can I create an archive of the current repository including local uncommitted changes using git archive?
git archive
Another solution with git ls-files :
git ls-files
git ls-files -z | xargs -0 tar -czvf archive.tar.gz