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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]