I\'m looking for the right way to get an archive of a git repository without the .git/ directory in order to send a daily snapshot to testers.
This will result in archive.tar.gz and add a prefix dir named "prefix-dir":
git archive --prefix=prefix-dir/ -o archive.tar HEAD gzip archive.tar