Re: Remove "historical" objects from repository to save place
- From
- Andrey Borzenkov <arvidjaar@mail.ru>
- Date
- Jan 21, 2006, 21:46 UTC
- Message-ID
- <200601220046.34151.arvidjaar@mail.ru>
- In-Reply-To
- <7v1wz1mjy8.fsf@assigned-by-dhcp.cox.net>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Saturday 21 January 2006 22:58, Junio C Hamano wrote:
> > You might be able to cauterize the history at a specific commit > and then re-clone. I've talked about how in "[QUESTION] about > ..git/info/grafts file" thread yesterday, so I won't repeat that.
thank you, quite complete description. One question - any caveats in using git ls-remote to fetch graft point?
echo $(git ls-remote git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git v2.6.15 | cut -f1) > .git/info/grafts
etc
this avoids downloading over 1G in the first place.
regards
- -andrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD0qu6R6LMutpd94wRAtuzAJoCT15+8d9BcIEhOxmD9lrRGWE6EQCghg5l SR5g1+nAUNlltYyXydxsFAs= =U2cu -----END PGP SIGNATURE-----