1. 生成patch
diff -Naur olddir(oldfile) newdir(newfile) > new-patch
diff -Naur --exclude=.svn olddir newdir > new-patch
2. 使用patch
patch -p1 < new-patch
cat new-patch | patch -p1
1. 生成patch
diff -Naur olddir(oldfile) newdir(newfile) > new-patch
diff -Naur --exclude=.svn olddir newdir > new-patch
2. 使用patch
patch -p1 < new-patch
cat new-patch | patch -p1
導讀: 本模塊由第三方提供,不包含在 Nginx 的源碼發佈版中。安裝介紹等請看 這裏. The upstream_hash modu
前段時間集中學習了git的使用,之後git了Linux的源碼。但是同時想git下Linux的著名開發樹MM樹,發現Andrew Morton 維護