Re: how to clone/checkout branch/tag vesion from GIT repository

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

 



On Sat, May 12, 2012 at 03:26:32AM -0700, supadhyay wrote:

> 2- from gitolite_home I run below command
> git clone ssh://git@xxxxxxxxxxxxxxx/ora/data/test.git
> (tis is do the clone of my repository so I can see the actual data inside
> the repository)

As I mentioned before, this should probably be a --mirror clone to get
all of the remote branches, and to create a bare repository. I don't use
gitolite, so perhaps there is some need I don't know about for it to
have a working tree. But in general, I would think having a non-bare
repository would be a problem here, as it would prevent pushes to the
checked-out branch (but again, maybe there is some gitolite-specific
thing I am missing).

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