Re: How-to setup an empty remote repository?
- From
Wink Saville <wink@saville.com>
- Date
- Aug 25, 2007, 22:45 UTC
- Message-ID
- <d4cf37a60708251545m7911e346m18fc183da48b4e63@mail.gmail.com>
- In-Reply-To
- <20070825220629.GC1219@pasky.or.cz>
On 8/25/07, Petr Baudis <pasky@suse.cz> wrote:
Show 15 quoted lines
> 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