Chris Packham wrote:
I would like to have base somehow find the objects it doesn't have in
its object store and either download them or just copy them from the
object store of projecta.
[...]
From reading [2] I think 'rm
.git/objects/info/alternates && git repack -a' might do the trick but
I'm not sure.
Almost. Try ‘git repack -a && rm .git/objects/info/alternates’ instead. :)
(Please back up the repository or try with something less important
first, since I am not sure.)
Hope that helps,
Jonathan
[2] http://stackoverflow.com/questions/2248228/how-to-detach-alternates-after-git-clone-reference