From: Rudolf Polzer Date: Thu, 14 Jan 2010 07:03:16 GMT Subject: Re: [PATCH] git push --track Message-ID: <20100114070316.GC1528@rm.endoftheinternet.org> In-Reply-To: On Thu, Jan 14, 2010 at 09:27:26AM +0800, Tay Ray Chuan wrote: > 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.