我的邮箱已收到.但是我不知道如何在邮箱中获取补丁,因为邮箱的内容只是文本 [英] My mailbox was received. But I don't know how to get the patch in the mailbox, because the content of the mailbox is only text

查看:70
本文介绍了我的邮箱已收到.但是我不知道如何在邮箱中获取补丁,因为邮箱的内容只是文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

生成补丁后,$ git send-email --to a1105773737@gmail.com〜/patches/*.patch发送了补丁.我的邮箱已收到.但是我不知道如何在邮箱中获取补丁,因为邮箱的内容只是文本.

After I generated the patch, $ git send-email --to a1105773737@gmail.com ~/patches/*.patch sent the patch. My mailbox was received. But I don't know how to get the patch in the mailbox, because the content of the mailbox is only text.

请看图片,我打开邮箱,只能看到一堆文字,应该如何合并邮箱补丁?

Please take a look at the picture, I open the mailbox, I can only see a bunch of text, how should I merge the mailbox patch?

我觉得需要将补丁文件发送到邮箱,然后再下载补丁文件,但是我不知道如何将文件发送到邮箱.

I feel the need to send the patch file to the mailbox, and then download the patch file, but I don't know how to send the file to the mailbox.

推荐答案

我打开邮箱,只能看到一堆文字,

I open the mailbox, I can only see a bunch of text,

这是预料之中的:这些补丁遵循 diff格式.

That is expected: those patches follow a diff format.

要应用这些补丁,请先保存电子邮件内容,然后使用 git apply .
或者,按照在此处推荐,将电子邮件的内容复制粘贴到

To apply those patch, save then content of the email and use git apply.
Or, as recommended here, copy paste the content of the email into git am interractive step.

这篇关于我的邮箱已收到.但是我不知道如何在邮箱中获取补丁,因为邮箱的内容只是文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆