如何一次性应用多个git补丁 [英] how to apply multiple git patches in one shot

查看:480
本文介绍了如何一次性应用多个git补丁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  0001我有大约100个补丁,像下面这样,有没有办法一次性应用所有补丁? -  *。patch,0002  -  *。patch,0003  -  *。patch ............ 


您可以使用 git am ,例如

  $ git am * .patch 

选项,结帐 man 页面。


I am having around 100 patches like below,is there a way to apply all of them in one shot?

0001-*.patch,0002-*.patch,0003-*.patch............

解决方案

You can use git am, for example

$ git am *.patch

For all available options, checkout the man page.

这篇关于如何一次性应用多个git补丁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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