cd opencore git am ~/patch-set/*.patch (这里git就会按照文件名的顺序一次am这些patch) 如果一切顺利, 所有的patch都OK了, 你又Lucky了。 不过不顺利的时候十有八九,如果git am中间遇到了patch,am就会停到打这个 patch的地方, 告诉你是哪个patch打不上去。 比如现在有一个文件file,有两个patch. file 的内容是 the text
more text 两个patch分别是: 0001-add-line.patch: From 48869ccbced494e05738090afa5a54f2a261df0f Mon Sep 17 00:00:00 2001 From: zhangjiejing <zhangjiejing@zhangjiejing-desktop.(none)> Date: Thu, 22 Apr 2010 13:04:34 +0800 Subject: [PATCH 1/2] add line