Re: [PATCH] git push --track
- From
- Rudolf Polzer <divverent@alientrap.org>
- Date
- Jan 14, 2010, 07:01 UTC
- Message-ID
- <20100114070108.GB1528@rm.endoftheinternet.org>
- In-Reply-To
- <871vht7cs2.fsf@catnip.gol.com>
On Thu, Jan 14, 2010 at 09:25:49AM +0900, Miles Bader wrote:
Show 15 quoted lines
> "Rudolf Polzer" <divVerent@alientrap.org> writes: > > I'd like a feature to automatically "transform" a non-tracking local > > branch into a tracking branch on push. A patch to do that is attached. > > Yay!! > > I've wanted this for a long time, but discussions about it always seem > to end up petering out... > > > git branch mybranch > > git checkout mybranch > > ... > > git push --track origin mybranch:mybranch > > Does it default to the current branch so you can just say "git push --track origin"?
It does the very same decisions as push. Basically, it is "whatever got pushed, mark as tracking".
Best regards,
Rudolf