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
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 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
First check in the Xcode Downloads whether the Command Line Tools are downloaded or not. if not first download that and then follow the below procedure
In Terminal go to the directory where we need that Patch File and execute the Command svn diff > somename.patch then you will get a patch file in that directory