Re: How in tarnation do I git v2.6.16-rc2? hg died and I stilldon't git git
From: sean
Date: Wed Feb 08 2006 - 10:14:46 EST
On Wed, 8 Feb 2006 07:03:01 -0800
Paul Jackson <pj@xxxxxxx> wrote:
> But how in tarnation do I git a checked out copy/clone/whatever of
> Linus's tree that only has the changes up through revision v2.6.16-rc2
> (that doesn't include changes since then)?
Hi Paul,
You create a branch. This will be a bit easier if you have all of the
tags for each of Linus' releases, do:
$ git fetch --tags
Then you create the branch as at the commit you're interested in:
$ git checkout -b working v2.6.16-rc2
Which tells git to create a branch named "working" as at the commit
referenced by the tag "v2.6.16-rc2". You can see this worked
by:
$ git branch
master
origin
* working
Where the asterisk shows you that you're now operating in the "working"
branch. And "git log" will show you that the HEAD commit is the
one you're interested in.
HTH,
Sean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/