I added a new file in “modified directory” (in 3rd sub level folder) and when i try to generate the patch file using the following command it appears that diff command is ignoring the new file:
diff –ur "original directory" "modified directory" > version1.patch
I appreciate your help..
You also need
-Nflag. Fromman diff:When generating patches, the “standard” diff flags are
-Npur. You’ve already discovered why you need-N;-pmakes the patch easier for humans to read.