Re: setting up tracking on push
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Mar 11, 2009, 03:44 UTC
- Message-ID
- <76718490903102044j4ca3462eye5ffcb178608dc29@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:
>> No, look at how -m works. [<oldbranch>] <newbranch>. I modeled it after that. > > Hmm. I think of that as "make <newbranch>, move from <oldbranch> or > HEAD".
Um, I think of it as "rename <oldbranch> to <newbranch>" where <oldbranch> defaults to the current branch (aka HEAD).
> Just as regular branch is "make <newbranch>, start from > <oldbranch> or HEAD". But your proposal is "update <newbranch> or HEAD, > from <oldbranch>".
Wait, what? No it isn't. My proposal is add or remove tracking information to <branch> where <branch> defaults to the current branch (aka HEAD).
-u w/o --track/--no-track is a usage error.
j.