Re: [PATCH] git push --track
From: Miles Bader <hidden>
Date: 2016-06-15 22:48:01
On Thu, Jan 14, 2010 at 10:37 AM, Tay Ray Chuan [off-list ref] wrote:
quoted
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.
I, and it appears other people, want to make this association at push-time -- that's almost always when I make the decision "I'd like to track this" -- so the most convenient and intuitive thing would be to have a --track option to push. Of course there could _also_ be some sort of branch sub-command (or another command) to setup or change tracking state without pushing. But "push --track" is more important for normal usage I think. -miles -- Do not taunt Happy Fun Ball.