Create patch file


/ Published in: Bash
Save to your folder(s)

Patches are created using the diff program. When making patches, please use the -u option, or if your diff doesn't support it, -c. Ordinary (context-free) diffs are notoriously prone to errors, since line numbers tend to change when others make changes to the same source file.


Copy this code and paste it in your HTML
  1. diff -u ORIGFILE CHANGEDFILE > patch.txt

URL: http://wget.addictivecode.org/PatchGuidelines

Report this snippet


Comments


You need to login to view comments.