Thread (11 messages) 11 messages, 5 authors, 2007-04-15

Re: GIT and the current -stable

From: Rene Herman <hidden>
Date: 2007-04-14 23:14:34
Also in: lkml

On 04/14/2007 10:54 AM, Rene Herman wrote:
On 04/14/2007 10:34 AM, Chris Wright wrote:
quoted
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@7ixe4:~/src/linux$ cd stable
rene@7ixe4:~/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@7ixe4:~/src/linux/stable$ git checkout origin/linux-2.6.20.y

or in this case, but only this case, like:

rene@7ixe4:~/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@7ixe4:[...]$ git tag -l | grep "v2\.6\.[[:digit:]]\{1,2\}\."
v2.6.20.7

Rene.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help