how to apply patches from git ?
Calvin Johnson
linux.cj at gmail.com
Thu Jul 14 06:01:41 EDT 2011
>>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 at gmail.com> 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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110714/83ea2df3/attachment.html
More information about the Kernelnewbies
mailing list