git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git clone rsync:... ?

From
MSMarc Singer <elf@buici.com>
Date
Jul 11, 2005, 22:21 UTC
Message-ID
<20050711222112.GA21248@buici.com>
In-Reply-To
<7v4qb1ouwk.fsf@assigned-by-dhcp.cox.net>
On Mon, Jul 11, 2005 at 03:11:23PM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> Marc Singer <elf@buici.com> writes:
> 
> >   elf@florence /git > git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6
> >   defaulting to local storage area
> >   ssh: rsync: Name or service not known
> >   fatal: unexpected EOF
> 
> Hmph.  "git clone rsync://rsync.kernel.org/pub/scm/git/git.git git.git"
> seems to work so does the exact command you show above.  Is it
> possible that you are running git-clone-script from an older Git?

What I've been doing is pulling the cogito source, this time directly from the net accessible repo, building it, and then copying the binaries to a special directory I added to my path

  elf@florence ~...git/bin > cat git-clone-script
  #!/bin/sh
  repo="$1"
  dir="$2"
  mkdir "$dir" && cd "$dir" && git-init-db && git-clone-pack "$repo"
What more could I need?
Show 17 quoted lines
> 
> > Moreover, I'd like to be able to
> > keep one repo that is just pulling from the net and then clone it for
> > different working directories.
> 
> That is a sane thing to ask.  Assuming you have solved the above
> problem:
> 
>     $ ls
>     linux-2.6
>     $ git clone -l linux-2.6 linux-ms
>     $ git clone -l linux-2.6 linux-ms-net
>     $ git clone -l linux-2.6 linux-ms-ide
>     $ git clone -l linux-2.6 linux-ms-usb
> 
> would make local clones of vanilla linux-2.6 repo you locally
> have ("-l" knows to use hardlinks when possible).
That, too, has been failing.  I think for some different reason.
  elf@florence ~/z/embedded > git clone -l linux-2.6 linux-2.6-cloned
  mkdir: cannot create directory `linux-2.6': File exists
Looks like something's borked.
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 5 in “git clone rsync:... ?”
  1. Marc SingerJul 11, 2005
  2. Junio C HamanoJul 11, 2005
  3. Marc SingerJul 11, 2005
  4. Junio C HamanoJul 11, 2005
  5. Marc SingerJul 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.