Re: how to apply patches from git ?

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

 



Hi


>>>  Hi all,
>>>
>>> Sorry if this is a basic question.
>>> How do i take patches from e-mail?
>>>  for example git send mail sends patches as e-mail
>>>
>>> if someone wants to apply that patch to his branch then how do i get
>>> that in . patch format and then use
>>> patch -p1 *.patch  or is there something im missing here? thanks.
>>> --
>>> Warm Regards,
>>> Ravi .
>>>
>>
>> Save the email message in mbox format and then you can use git am
>> /path/to/mbox/file to apply the email patch to your tree.
>
> well, actually you don't need to do the whole mbox thing with git. You
> only need to get the patches into .patch files in a directory. I believe
> you can then use git am /path/to/patches and it will apply the patches
> in the order the ls command displays them.
 are there any git tools to set up this so that i can use them ?

> I'm assuming that would be helpful since most people who don't know how
> to apply patches from mail also don't have an mbox.
>

makes sense


-- 
Warm Regards,
Ravi Kulkarni.

_______________________________________________
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