Re: git clone --bare doesn't create refs/heads/*?

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

 



[ Please don't top-post. ]

On Thu, Jan 29, 2009 at 10:36:26PM +0800, Tay Ray Chuan <rctay89@xxxxxxxxx> wrote:
> Hmm, no, --mirror adds extra remote tracking information.
> 
> Quoting the git-clone man page:
> 
> "...the branch heads at the remote are copied directly..."
> 
> which is to say, git clone --bare isn't doing what it's supposed to do.
> 
> that said, i'm not too sure about this, hence this thread.

Ah, packed refs. :)

See man git-pack-refs, git clone uses it to pack refs after a clone.
They are still in the 'packed-refs' file.

Attachment: pgp9mhoiUesAX.pgp
Description: PGP signature


[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]

  Powered by Linux