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

Re: [RFC] Moving "git remote add --mirror blah" functionality to "git clone --bare --origin=blah"

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 23, 2008, 22:42 UTC
Message-ID
<alpine.DEB.1.00.0804232340310.26553@eeepc-johanness>
In-Reply-To
<7vtzhsqlfi.fsf@gitster.siamese.dyndns.org>
Hi,
On Wed, 23 Apr 2008, Junio C Hamano wrote:
Show 7 quoted lines
> Paolo Bonzini <bonzini@gnu.org> writes:
> 
> > It seems useless to have an option in "git remote add" just because it 
> > might be necessary in a future refactoring of "git clone", but without 
> > a good use case beside that one.
> 
> Ooo.  But I think that's the other way around.

I think it is very much the other way round. "git remote add" is meant for adding _additional_ remotes. "git clone" just _happens_ to install an "origin" remote.

I even have a case where I used "--mirror" _twice_ in the same, _non_-bare repository. It has merit, you know?

Ciao, Dscho

Previous: Junio C HamanoNext: Paolo Bonzini
Message 8 of 9 in “[RFC] Moving "git remote add --mirror blah" functionality to "git clone --bare --origin=blah"”
  1. Paolo BonziniApr 23, 2008
  2. Johannes SchindelinApr 23, 2008
  3. Junio C HamanoApr 23, 2008
  4. Daniel BarkalowApr 23, 2008
  5. Jeff KingApr 23, 2008
  6. Paolo BonziniApr 23, 2008
  7. Junio C HamanoApr 23, 2008
  8. Johannes SchindelinApr 23, 2008
  9. Paolo BonziniApr 24, 2008

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.