From: Junio C Hamano Date: Mon, 24 Sep 2007 16:49:03 GMT Subject: Re: The msysGit Herald, issue 2 Message-ID: <7v1wcoau0w.fsf@gitster.siamese.dyndns.org> In-Reply-To: <46F7E2A5.6030202@eudaptics.com> Johannes Sixt writes: > Linus Torvalds schrieb: > >> ... >> Or maybe you did fetch a tracking branch? > > I don't think I fetched a tracking branch. If I do: > > $ mkdir foo && cd foo && git init > $ git fetch ../git master:refs/heads/master > > (where ../git is a clone of git.git with a few local changes), I get > all the tags. Good or bad? That's exactly Linus meant "fetching a tracking branch". Your refspec has non-empty string on the RHS of the colon. $ git fetch ../git master is the form without tracking. IOW, not storing into your refs namespace.