Re: how to apply patches from git ?

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

 



>>also, how do u clone a particular git tree for a particular tag
>>for example
>>if i use git clone
>>git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6

>>it will clone the linus latest tree but if i want to clone only till
>>rc4 or rc5 of his tree how to do it.

Once you clone, you get the entire source in the master branch.

git branch => will show which branch you are in currently

If you want to see the list of tags use => git tag -l

and then if you want to checkout a particular tag to a new branch created from the master, use
=> git checkout -b v3.0-rc4

regards,
Calvin


On Thu, Jul 14, 2011 at 3:13 PM, RKK <kulkarni.ravi4@xxxxxxxxx> wrote:
Hi Prashant ,
>


>>>
>>> If its a public mailing list then I use a newsgroup reader that will
>>> allow me to download the entire patch email as file and then use the
>>> git apply on it.
>>>
>>  may i know which newsgroup reader u use and how to setup that? thanks.
>>
>
> I use Pan News reader
>
> http://pan.rebelbase.com/
>
> Server : news.gmane.org
> Linux Kernel : http://news.gmane.org/gmane.linux.kernel
>

 thanks for that i have set up the pan news reader. i tried applying
patch but it dint work.
guess have to check git apply for that.
also, how do u clone a particular git tree for a particular tag
for example
if i use git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6

it will clone the linus latest tree but if i want to clone only till
rc4 or rc5 of his tree how to do it.

Warm Regards,
Ravi Kulkarni.

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

_______________________________________________
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