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

Re: [PATCH] Fix git-push --mirror also mirroring refs/remotes/

From
Bryan Drewery <bryan@shatow.net>
Date
May 10, 2009, 21:31 UTC
Message-ID
<4A0747B9.1080707@shatow.net>
In-Reply-To
<200905102313.13544.markus.heidelberg@web.de>
Markus Heidelberg wrote:
Show 13 quoted lines
> Bryan Drewery, 10.05.2009:
>   
>> This behavior makes no sense to me. Can we at least add a config option
>> to make it not push remotes? I push my development repository
>> to a remote private repository only as a backup, and push my master/next
>> to a public repository. I see no reason to push my 8 remotes and
>> all their branches to my backup repository.
>>     
>
> Why are you disturbed by the remotes, if it's only a backup repository
> where you don't look into in the normal case?
>
>   

If it's going to push remote heads, shouldn't it (in line with "mirror") also push all remote settings for all remotes from the config to the destination repository, as well as other config settings?

If not, then why push remote heads at all?
Bryan
Previous: Markus HeidelbergNext: Junio C Hamano
Message 5 of 7 in “Fix git-push --mirror also mirroring refs/remotes/”
  1. Fix git-push --mirror also mirroring refs/remotes/Bryan Drewery, May 10, 2009
  2. Markus HeidelbergMay 10, 2009
  3. Bryan DreweryMay 10, 2009
  4. Markus HeidelbergMay 10, 2009
  5. Bryan DreweryMay 10, 2009
  6. Junio C HamanoMay 10, 2009
  7. Markus HeidelbergMay 10, 2009

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.