# 產生補丁 diff -uN from-file to-file > to-file.patch # 打補丁 patch -p0 < to-file.patch # 取消補丁 patch -RE -p0 < to-file.patch