Patch Notes
- Create patch file:
diff -u file1 file2 > name.patch
, orgit diff > name.patch
- Apply path file:
patch [-u] < name.patch
- Backup before apply patch:
patch -b < name.patch
- Validate patch without apply:
patch --dry-run < name.patch
- Reverse applied path:
patch -R < name.patch
Was this page helpful?