English 中文(简体)
采用从雷患鸟类中排出的 g类是最容易的方法
原标题:What is the easiest way to apply git series of patches from Thunderbird

我有一份以000X-xx. 发送格式寄出的带有国家附件的邮件。 我要在我的主人头上适用所有拼凑,但我要把所有承诺分开,因为原始作者承诺这样做。 当然包括承诺的信息。

方法1:开放电子邮件,点击Save,xxx.eml,然后:

git am xxx.eml

结果是ok的,但所有东西都被打成一 commit。 不能接受。

方法2. 所有附录均在名录中保存,然后:

git am 000*.patch
Patch format detection failed.
git apply 000*.patch
(does nothing)

这并不可行。 咨询? 感谢。

最佳回答

通过git am man page,它像承诺信息是从主题:线和电文体形成的,这意味着你不能重订最初的承诺顺序(即没有手段收回提交人为每个人使用的承诺信息)。

如果你愿意放弃承诺的信息,那么你就应当能够将发送到个人档案中,而仅仅在<条码>上适用。

问题回答

As far as I have been able to find, Thunderbird does not have a sensible way to save several emails as individual files at the same time. You can save them one at a time, though, and this does work for small patch sets.

Ironically, I accidentally discovered the easiest way by sending Linux patches to a colleague who doesn t follow the mailing lists. Forward them To yourself (as attachments).

  1. Select all the patch emails
  2. Forward them to yourself as attachments
  3. Save all attachments to an appropriate directory
  4. apply the emails. e.g "git am my_patch_dir/[PATCH -v5*"




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签