Question about pullsing source of a specific version using git

Greg KH gregkh at linuxfoundation.org
Fri Mar 9 10:06:18 EST 2012


On Fri, Mar 09, 2012 at 10:04:17AM +0000, SADA SIVA REDDY S wrote:
> Hi All,
>    Apologies if this question should not have been asked here.  I am looking at
> pulling code using git (git clone git://some path).
> This path is same on www.kernel.org for any two close versions
> say 3.2.9 and 3.2.6  - git://git.kernel.org/pub/scm/linux/kernel/git/stable/
> linux-stable.git
> 
> How do I make my local copy same as the source code for 3.2.6 or 3.2.9 ?
> I have tried reading git tutorials not in full to find an answer and I am un
> successful so far.
> 
> If it's a simple answer could you please let me know.

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
cd linux-stable
git checkout v3.2.6




More information about the Kernelnewbies mailing list