2. git format-patch 将多个commit生成一个patch git format-patch 貌似只可以将一次提交作为一个patch git format-patch -2 03865244 #某次提交之前的几次 http://www.jianshu.com/p/300eea8b66cc 通过reset 和merge来将多个commit 合并为一个patch http://blog.csdn.net/xsckernel/article/details/17718127...