Hi,
On Mon, Jun 7, 2010 at 3:21 AM, Jay Soffian [off-list ref] wrote:
Say I have an existing branch and it doesn't have a tracking config.
(My local users often just do "checkout -b topic" instead of "checkout
-b topic origin/master".)
I would naively expect this to work, while on that branch:
(topic)$ git branch --set-upstream origin/master
Hmm, I can see where the confusion is coming from - you're treating
git-branch as a "branch modifier", when it really is a "branch
creator" - unless you use -f, of course.
[snip]
So here's how I'm thinking about fixing it, but maybe I'm just making
it even more confusing. What say you:
(topic)$ git branch --set-upstream=origin/master
Branch topic set up to track remote branch master from origin.
I was under the impression that long-style options took "=".
--
Cheers,
Ray Chuan