Re: The msysGit Herald, issue 2
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 24, 2007, 16:49 UTC
- Message-ID
- <7v1wcoau0w.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <46F7E2A5.6030202@eudaptics.com>
Johannes Sixt <j.sixt@eudaptics.com> writes:
Show 12 quoted lines
> 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.