Re: The msysGit Herald, issue 2
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 24, 2007, 16:32 UTC
- Message-ID
- <Pine.LNX.4.64.0709241731510.28395@racer.site>
- In-Reply-To
- <46F7E2A5.6030202@eudaptics.com>
Hi,
On Mon, 24 Sep 2007, Johannes Sixt wrote:
Show 25 quoted lines
> Linus Torvalds schrieb: > > > > On Sun, 23 Sep 2007, Johannes Schindelin wrote: > > > > 6) What was the most frustrating moment when working with Git? > > > Just the other day, I wanted to fetch a set of changes from a public > > > repo into my test repo in order to cherry-pick from them - and it > > > automatically fetched all the tags. But, the heck, I don't want them tags > > > here, just the commits. I just can't figure out how to avoid the > > > automatic > > > fetching of tags. > > > > The way this was *supposed* to work is that if you are not fetching a > > "tracking branch", it should not fetch any tags. > > > > Maybe this got broken lately? > > > > 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?
The ":refs/heads/master" part says that you fetch into a tracking branch.
Ciao, Dscho