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

Re: How do I push all remote branches to a new/different remote?

From
Howard Miller <howard@e-learndesign.co.uk>
Date
May 11, 2011, 18:33 UTC
Message-ID
<BANLkTi=JBMf8t=PQo13pVYd03wczsyjMtA@mail.gmail.com>
In-Reply-To
<7vy62df77q.fsf@alter.siamese.dyndns.org>
On 11 May 2011 19:00, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> Howard Miller <howard@e-learndesign.co.uk> writes:
>
>> git push ...you tell me..
>
> You can say "please" here ;-)  Shouldn't this work?
>
>        git push $that_url 'refs/*:refs/*'
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

"please" very much meant and thank you very much. I was expecting some option I had missed but I wouldn't have worked that out.

What I don't quite understand is what does --mirror do? I am assuming it pushed all the data but none of the branches which, on the face of it, doesn't seem very useful.

Previous: Junio C Hamano
Message 3 of 3 in “How do I push all remote branches to a new/different remote?”
  1. Howard MillerMay 11, 2011
  2. Junio C HamanoMay 11, 2011
  3. Howard MillerMay 11, 2011

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.