Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: How-to setup an empty remote repository?

From: Wink Saville <hidden>
Date: 2016-06-15 22:43:30

On 8/25/07, Petr Baudis [off-list ref] wrote:
On Sat, Aug 25, 2007 at 11:00:33PM CEST, Wink Saville wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help