Joao Trindade Joao Trindade -4 years ago 242
Git Question

Make Git consume less disk space?

What is the best way for git to consume less disk space?

I'm using git-gc on my repositories but I would like suggestions if there is any other command to shrink the disk space used by git.

Thanks

Answer Source

git-gc calls lots of other commands that are used to clean up and compress the repository. All you could do is delete some old unused branches.

Short answer: No :-(

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download