From: Miles Bader Date: Thu, 14 Jan 2010 01:49:00 GMT Subject: Re: [PATCH] git push --track Message-ID: In-Reply-To: On Thu, Jan 14, 2010 at 10:37 AM, Tay Ray Chuan wrote: >> 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.