Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: Question about .git/objects/info/alternates

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:48:29

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help