Creare un archivio tar da un repository Git
Repository locale
git clone myrepo.url cd myrepo
git archive --format=tar --prefix=myrepo/ HEAD | gzip > ../myrepo.tar.gz
Repository remoto
NON va con github: usare il tasto Download==
git archive --remote=myrepo.url -format=tar --prefix=myrepo/ HEAD | gzip > ../myrepo.tar.gz