I need to apply a patch(from a mailing list) into a local git repository
The patch in the mailing list has a cover message and a brief information about it. I can copy paste the appropriate patch text into a file and use it as a patch. If possible, could someone please suggest a better alternative?
You have the choice of
git apply
andgit am
withgit mailinfo
.The
git mailinfo
command will process the email message and will separate the patch from the log, but usually you can simply usegit am
. Also please note the--scissors
,