[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46216001.3000503@gmail.com>
Date: Sun, 15 Apr 2007 01:13:05 +0200
From: Rene Herman <rene.herman@...il.com>
To: Chris Wright <chrisw@...s-sol.org>
CC: Linux Kernel <linux-kernel@...r.kernel.org>,
Greg KH <greg@...ah.com>, git@...r.kernel.org
Subject: Re: GIT and the current -stable
On 04/14/2007 10:54 AM, Rene Herman wrote:
> On 04/14/2007 10:34 AM, Chris Wright wrote:
>
>> I've already put a tree like this up on kernel.org. The master branch
>> is Linus' tree, and there's branches for each of the stable releases
>> called linux-2.6.[12-20].y (I didn't add 2.6.11.y).
>>
>> http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=summary
>
> I see, thank you; that sounds like a good "master" repo to clone then.
Okay, I just cloned this repo, like:
git clone -n \
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6-stable.git \
stable
How do I now checkout for example 2.6.20.6, or get a diff between 2.6.20.6
and the (at the moment of writing latest -stable) 2.6.20.7?
rene@...e4:~/src/linux$ cd stable
rene@...e4:~/src/linux/stable$ git branch -a
* master
origin/HEAD
origin/linux-2.6
origin/linux-2.6.12.y
origin/linux-2.6.13.y
origin/linux-2.6.14.y
origin/linux-2.6.15.y
origin/linux-2.6.16.y
origin/linux-2.6.17.y
origin/linux-2.6.18.y
origin/linux-2.6.19.y
origin/linux-2.6.20.y
origin/master
and I can check them out like
rene@...e4:~/src/linux/stable$ git checkout origin/linux-2.6.20.y
or in this case, but only this case, like:
rene@...e4:~/src/linux/stable$ git checkout v2.6.20.7
"v2.6.20.7" seems to be the only tag from the stable branches that's present
in this tree?
rene@...e4:[...]$ git tag -l | grep "v2\.6\.[[:digit:]]\{1,2\}\."
v2.6.20.7
Rene.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists