On Wed, 12 Jul 2006, Erik Mouw wrote: > > I just learned out about "git clone -s" to share objects between > repositories. How do I use that with already existing repositories? Do echo "/source/git/project/.git/objects/" > .git/objects/info/alternates and then follow it up with git repack -a -d -l where the "-l" means that it will only put _local_ objects in the pack-file (strictly speaking, it will put any loose objects from the alternate tree too, so you'll have a fully packed archive, but it won't duplicate objects that are already packed in the alternate tree). Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Jul 13 01:47:50 2006
This archive was generated by hypermail 2.1.8 : 2006-07-13 01:48:18 EST