I would like to apply a patch sent with git-send-email.
Currently I have to type everything to the specific files.This is a hacky and very slow as my workload is increasing.I would like to know how I could get a fairly large patch into my git tree faster for testing.
Thanks in advance
You can apply patches from email-formatted patch using any raw data viewer.
For example, GMail, in the current interface, has support for it. You can apply a patch as a commit from a mail message following these steps:
git am
Ctrl-D
to finish the insertionFor more information, check:
Kernel Newbies - Applying a patch tutorial
Eletric Toolbox - Gmail view raw message article
Check to see if the patch applies without errors:
git apply --check <patchname>
Apply the patch:
git apply <patch name>
Here is a blog post where you can get more info on email patches.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With