linux 下 patch檔案簡易使用方式
產生patch檔案
diff -u hello_old.c hello_new.c > hello.patch
針對某一檔案打入 patch
patch hello.c < hello.patch
Reference from:
http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/
全站熱搜
linux 下 patch檔案簡易使用方式
產生patch檔案
diff -u hello_old.c hello_new.c > hello.patch
針對某一檔案打入 patch
patch hello.c < hello.patch
Reference from:
http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/