用git应用电子邮件补丁 [英] applying email patch with git
本文介绍了用git应用电子邮件补丁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想应用通过git-send-email发送的补丁。
I would like to apply a patch sent with git-send-email.
当前,我必须在特定文件中键入所有内容。随着工作量的增加,速度变慢。我想知道如何更快地将相当大的补丁放入git树进行测试。
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.
在此先感谢
推荐答案
检查该补丁是否适用且没有错误:
Check to see if the patch applies without errors:
git apply --check <patchname>
应用补丁:
git apply <patch name>
这里是一篇博客文章,您可以在其中获取有关电子邮件补丁程序的更多信息。
Here is a blog post where you can get more info on email patches.
这篇关于用git应用电子邮件补丁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文