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.