I'm trying to git archive a branch using gzip with the highest level 
compression (9) but it seems to not compress at that level. Here is my 

git -C /home/user/example.com/ archive --format tar -o /home/user/
site_backups/develop-`date +%Y-%m-%dT%H%M`.tar develop | gzip -9

It creates the tar file but the size is over 100MB compared to a zip that 
was compressed at 86MB using this command:

git -C /home/user/example.com/ archive --format zip -o /home/user/
site_backups/develop-`date +%Y-%m-%dT%H%M`.zip develop

Can the output file be compressed more? What am I doing wrong?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to