Re: Question about pullsing source of a specific version using git

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

 



On Fri, Mar 9, 2012 at 12:04 PM, SADA SIVA REDDY S
<sadasiva.reddy@xxxxxxxxx> 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.

You can use 'git tag' to list all the tags and, once you know which
tag you want, do a 'git checkout v3.2'.

Hope this helps,
Vlad

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux