Hi Say I want to pick up a patch https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ve... how do i apply it directly to my branch without copying it ? I have tried git am and git mail-info, but i am not sure if I am using the correct command. Can you please let me know the correct command ? -- Thanks & Regards ~/asd
On Sun, Jan 20, 2013 at 6:26 AM, Asutosh Das <das.asutosh@gmail.com> wrote:
Hi Say I want to pick up a patch
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ve...
how do i apply it directly to my branch without copying it ?
Why is it important that you do not copy it? I would prefer to get the git commit id from the branch and generate the patch from there. generally you should apply patch with patch command, but I am not sure what are you trying to achieve here.
I have tried git am and git mail-info, but i am not sure if I am using the correct command.
Can you please let me know the correct command ?
-- Thanks & Regards ~/asd
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Thank you Warm Regards Anuz
Thanks for the reply. I figured it out. I got the mbox file, split it and searched for the required patch and applied it, all through git commands.
Why is it important that you do not copy it? Because I couldn't find a way to preserve the commit message otherwise.
generally you should apply patch with patch command I used the git am command for it.
On 24 January 2013 20:39, Anuz Pratap Singh Tomar <chambilkethakur@gmail.com> wrote:
On Sun, Jan 20, 2013 at 6:26 AM, Asutosh Das <das.asutosh@gmail.com> wrote:
Hi Say I want to pick up a patch
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ve...
how do i apply it directly to my branch without copying it ?
Why is it important that you do not copy it? I would prefer to get the git commit id from the branch and generate the patch from there. generally you should apply patch with patch command, but I am not sure what are you trying to achieve here.
I have tried git am and git mail-info, but i am not sure if I am using the correct command.
Can you please let me know the correct command ?
-- Thanks & Regards ~/asd
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Thank you Warm Regards Anuz
-- Thanks & Regards ~/asd # (91) 8297 00 1980
participants (2)
-
Anuz Pratap Singh Tomar -
Asutosh Das