All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
To: Chris Wright <chrisw@sous-sol.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	Greg KH <greg@kroah.com>,
	git@vger.kernel.org
Subject: Re: GIT and the current -stable
Date: Sun, 15 Apr 2007 01:13:05 +0200	[thread overview]
Message-ID: <46216001.3000503@gmail.com> (raw)
In-Reply-To: <462096AA.3080003@gmail.com>

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@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.


  reply	other threads:[~2007-04-14 23:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-14  5:36 GIT and the current -stable Rene Herman
2007-04-14  6:24 ` Junio C Hamano
2007-04-14  7:13   ` Rene Herman
2007-04-14  7:21   ` Greg KH
2007-04-14 17:34   ` Linus Torvalds
2007-04-14 18:45     ` Gerb Stralko
2007-04-14  8:34 ` Chris Wright
2007-04-14  8:54   ` Rene Herman
2007-04-14 23:13     ` Rene Herman [this message]
2007-04-15  0:23       ` Julian Phillips
2007-04-14 15:15   ` Brian Gernhardt
2007-04-14 17:19     ` Chris Wright
2007-04-14 17:23       ` Brian Gernhardt
2007-04-14 17:31         ` Chris Wright
2007-04-14 19:07       ` Julian Phillips
2007-04-14 11:56 ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46216001.3000503@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=chrisw@sous-sol.org \
    --cc=git@vger.kernel.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.