patch附带有一个很好的帮助,其中罗列了很多选项,但是99%的时间只要两个选项就能满足我们的需要: patch -p1 < [patchfile] //打补丁 patch -R < [patchfile] (used to undo a patch) //回退