Re: How-to setup an empty remote repository?

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

 



On 8/25/07, Petr Baudis <pasky@xxxxxxx> wrote:
> On Sat, Aug 25, 2007 at 11:00:33PM CEST, Wink Saville wrote:
> > In the instructions I followed for setting up a remote repository,
> > http://www.kernel.org/pub/software/scm/git/docs/cvs-migration.html,
> > it uses an existing repository. So is it true you can't clone an
> > empty remote repository, or did I do something wrong?
>
> It is true that you can't clone it. "Cloning remote repository" means
> just "get all the remote branches and set them up locally". In empty
> repository there are no branches yet, so there's nothing to clone.
>
> I guess this should be covered in the FAQ (if it isn't already), it is
> one of the top questions repo.or.cz users have and I think I see it
> frequently on IRC as well.
>
> --

I didn't see it here, http://git.or.cz/gitwiki/GitFaq.

I would have expected it to setup an empty repository and then
populate it with 0 remote branches. Obviously, its a corner case
and maybe doesn't need addressing but if it is asked a lot then
maybe it should work that way.

Thanks,

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

  Powered by Linux