Re: git push (mis ?)behavior
- From
Steffen Prohaska <prohaska@zib.de>
- Date
- Sep 28, 2007, 10:04 UTC
- Message-ID
- <B9F497FD-BD16-4D24-8F37-0D6989155FD3@zib.de>
- In-Reply-To
- <7vr6kjp1jw.fsf@gitster.siamese.dyndns.org>
On Sep 28, 2007, at 11:44 AM, Junio C Hamano wrote:
Show 12 quoted lines
>> Let me put it as a question: How can I push changes from the current >> branch to all remote refs it is configured to push to via >> "remote.<name>.push" >> without pushing anything else at the same time? > > Sorry, but I do not get you. Are you talking about pushing your > 'frotz' into more than one branches 'nitfol' and 'xyzzy' at the > same remote 'origin' without having to say > > $ git push origin frotz:nitfol frotz:xyzzy > > ???
Yes. Doesn't sound like a very reasonable workflow. But you can do it with "remote.<name>.push". So I think "git push" should somehow deal with it in a sensible way.
Steffen