git format 合并多个patch

假如要合并下面四个patch

b8e069a2a8da ACPI/IORT: Add an input ID to acpi_dma_configure()
3a3d208beede ACPI/IORT: Remove useless PCI bus walk
39c3cf566cea ACPI/IORT: Make iort_msi_map_rid() PCI agnostic
d1718a1b7a86 ACPI/IORT: Make iort_get_device_domain IRQ domain agnostic
07d2e59f27cd ACPI/IORT: Make iort_match_node_callback walk the ACPI namespace for NC

使用命令

git format-patch 07d2e59f27cd^..b8e069a2a8da --stdout > acpi.patch

这样打开acpi.patch 就可以看到已经包含上面四个patch了

猜你喜欢

转载自blog.csdn.net/tiantao2012/article/details/107979293