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

Re: RFC: script to add another remote

From
PRPavel Roskin <proski@gnu.org>
Date
Feb 23, 2007, 08:14 UTC
Message-ID
<1172218468.20390.15.camel@dv>
In-Reply-To
<7v8xepde5g.fsf@assigned-by-dhcp.cox.net>
On Thu, 2007-02-22 at 14:24 -0800, Junio C Hamano wrote:
Show 9 quoted lines
> Pavel Roskin <proski@gnu.org> writes:
> 
> > It's interesting that git-clone-more can be used instead of git-clone.
> > I can use it e.g. to check out git in an empty directory:
> >
> > git-init
> > git-clone-more git://www.kernel.org/pub/scm/git/git.git git
> 
> Isn't that what "git remote" is about?

I don't understand your question. "git remote" doesn't provide this functionality by itself. "git remote" is used by git-clone-more. I wish I were missing the obvious, but just mentioning "git remote" to me doesn't seem to help.

I see that the manual for "git-remote" includes an example repeating some parts of git-clone-more. That's another evidence that the functionality provided by git-clone-more is needed.

It looks like git-clone should be extended to support cloning of a repository on top of the existing one.

-- 
Regards,
Pavel Roskin
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “RFC: script to add another remote”
  1. Pavel RoskinFeb 22, 2007
  2. Junio C HamanoFeb 22, 2007
  3. Pavel RoskinFeb 23, 2007
  4. Junio C HamanoFeb 23, 2007
  5. Pavel RoskinFeb 23, 2007
  6. Junio C HamanoFeb 23, 2007

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.