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, 09:59 UTC
Message-ID
<alpine.DEB.1.00.0804231057470.4181@eeepc-johanness>
In-Reply-To
<480EF334.1090907@gnu.org>
Hi,
On Wed, 23 Apr 2008, Paolo Bonzini wrote:
Show 5 quoted lines
> In the thread "git remote update -> rejected" Junio and Johannes came to 
> the conclusion that "--mirror means that you do not have local 
> branches", because "you give control away to the other end on the ref 
> namespace".  Furthermore, it was agreed that --mirror currently makes 
> sense mostly (or only?) on a bare repository.

Yes. But the opposite may not be true: if you plan to work on many workdirs, but the same repository, you might still want to have separate remotes layout.

In any case, I think that this discussion is too early: clone should be builtin first, making things much simpler because of being a very thin layer on top of init && remote && fetch.

But yes, there is a lot of work left on the builtin-clone to make it so.

Ciao, Dscho

Previous: Paolo BonziniNext: Junio C Hamano
Message 2 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.