Re: How in tarnation do I git v2.6.16-rc2? hg died and I still don't git git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 8 Feb 2006 07:03:01 -0800
Paul Jackson <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux