Re: setting up tracking on push
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Mar 11, 2009, 03:40 UTC
- Message-ID
- <76718490903102040m6bfb45f1xfd7ff3d53a79ef5b@mail.gmail.com>
- In-Reply-To
- <20090311030604.GA3044@coredump.intra.peff.net>
On Tue, Mar 10, 2009 at 11:06 PM, Jeff King <peff@peff.net> wrote:
> If "-u" is supposed to be a general mode, then what does it mean to say: > > git branch -u foo
Nothing, that would emit the usage message since it's not valid.
> ? I would expect that to "update" foo. But if --track is given, then it > means "update HEAD to track foo".
Maybe branch isn't the best place to put this feature, but it's where I'd look. I'm not married to -u, it was just the first thing that came to mind. But I still can't think of anything better.
j.