reducing object store size with remote alternates or shallow clone?
- From
- Kumar Gala <galak@kernel.crashing.org>
- Date
- Aug 24, 2010, 06:59 UTC
- Message-ID
- <14526ED4-F65C-4DF2-ABDD-BF1E76DAC2B0@kernel.crashing.org>
I'm trying to package a linux kernel source tree and would like to just tar up a tree with .git/. However this is a bit problematic as the size of tgz is about 500M which exceeds the limit of the image I'm trying to produce.
I was wondering if anyone had a means to reduce the size drastically. I'm ok if a post processing step is required to get full git support. One idea I had was doing a shallow clone and if there was some means to "reconnect" it to a full work state after the fact.
thanks
- k