Fork me on GitHub

create patches

How to generate your patches?

 

Do as follow steps:

1) prepare the file which you modify from orignal source code.

2) run command

  diff -up orignal new-file > patch.xxx

3) if will patch a  contents 

  diff -uprN orignal-path new-path > patch.xxx

 

4)patch it

  patch -p0/n < patch.xxx

posted @ 2021-09-22 22:55  kean0048  阅读(23)  评论(0编辑  收藏  举报