In my iOS Application I want to create a patch file for the modified files to send it to Review Board.How can i generate a patch file in Mac OS by using Terminal
If you open a diff file in emacs and put the editor in "diff" mode you can actually edit patches and it will update the hunk markers in a smart way. Works really well for me! Yes!
If you don't want to use VCS for creating patch then you can use diff
tool.
You can create patch for one file using
diff -u original.c new.c > original.patch
Or
diff -rupN original/ new/ > original.patch
For entire folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With