how to apply patches from git ?

Prashant Shah pshah.mumbai at gmail.com
Thu Jul 14 05:57:01 EDT 2011


Hi,

On Thu, Jul 14, 2011 at 3:13 PM, RKK <kulkarni.ravi4 at gmail.com> wrote:
> Hi Prashant ,
>>
>  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.

yes. git apply will work.

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

If you dont want the history it is available at kernel.org
ftp://ftp.kernel.org/pub/linux/kernel/v3.0/testing/

If you want the history then you will have to clone the entire repo
and then checkout whichever rev. you want.



More information about the Kernelnewbies mailing list