From: "Wink Saville" <wink@saville.com>
To: "Petr Baudis" <pasky@suse.cz>
Cc: git@vger.kernel.org
Subject: Re: How-to setup an empty remote repository?
Date: Sat, 25 Aug 2007 15:45:44 -0700 [thread overview]
Message-ID: <d4cf37a60708251545m7911e346m18fc183da48b4e63@mail.gmail.com> (raw)
In-Reply-To: <20070825220629.GC1219@pasky.or.cz>
On 8/25/07, Petr Baudis <pasky@suse.cz> 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
next prev parent reply other threads:[~2007-08-25 22:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-25 21:00 How-to setup an empty remote repository? Wink Saville
2007-08-25 22:06 ` Petr Baudis
2007-08-25 22:45 ` Wink Saville [this message]
2007-09-04 19:47 ` Jan Hudec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d4cf37a60708251545m7911e346m18fc183da48b4e63@mail.gmail.com \
--to=wink@saville.com \
--cc=git@vger.kernel.org \
--cc=pasky@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).