Re: [PATCH] git push --track
From: Tay Ray Chuan <hidden>
Date: 2016-06-15 22:48:01
Hi, On Thu, Jan 14, 2010 at 9:35 AM, Miles Bader [off-list ref] wrote:
Tay Ray Chuan [off-list ref] writes:quoted
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.No. I think push is absolutely the right place to do it. I very often create local branches and only later decide that I'd also like to push them to a remote -- but just as often, or more often, I never do so. It would be extremely annoying if I had to make that decision at branch-time.
I'm not saying that the feature should belong to git-branch and so you have to make this decision at branch time - I'm saying that since this has got to do with modifying branches (sort of), it should be in there. -- Cheers, Ray Chuan