Re: [PATCH] git push --track
- From
- Rudolf Polzer <divverent@alientrap.org>
- Date
- Jan 14, 2010, 07:03 UTC
- Message-ID
- <20100114070316.GC1528@rm.endoftheinternet.org>
- In-Reply-To
- <be6fef0d1001131727r128c7727td2b948018d308719@mail.gmail.com>
On Thu, Jan 14, 2010 at 09:27:26AM +0800, Tay Ray Chuan wrote:
Show 5 quoted lines
> before I put up my comments on the patch, I wonder if git-push is the > best place to add this feature, as git-push usually deals with > "pushing" data to another repo. > > I think git-branch would be a better place to do this.
I think git-branch can already do this: after pushing, you can do git branch -f --track origin/mybranch.
But the goal of this is to postponing the decision to track to the push time, and adding as little as possible extra commands/options to do this.