Re: [RFC/PATCH] git push usability improvements and default change
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 11, 2009, 20:35 UTC
- Message-ID
- <7v7i2v4x2v.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20090310100400.GC11448@pvv.org>
Finn Arne Gangstad <finnag@pvv.org> writes:
Show 15 quoted lines
> On Mon, Mar 09, 2009 at 05:07:08PM -0700, Junio C Hamano wrote: > ... >> * What's the point of having --current option, when you can already >> say HEAD, i.e. $ git push origin HEAD > > It does something very different. Maybe --tracking would be a better name. > --current does basically this: > ... > The goal here is to be able to: > > git checkout -b junios-next origin/next > git push --current <=> git push origin junios-next:next > > git push origin HEAD would do git push origin junios-next:junios-next, > which was not the intention.
Ok, now that sort of makes sense, and is very different from people would expect from --current, which I think most people would associate with HEAD. "tracking" or "track back" would be a better name.