Main / Patch
To create a folder patch file use diff -ruN orig/ new/ > file.patch patch -s -p0 < file.patch
To undo reverse a patch use -R like patch -R -p0 < file.patch To force creation of backups of originals (with .orig extension) use -b like patch -b -p0 < file.patch To dry run it without making changes use --dry-run like patch --dry-run -p0 < file.patch Quilt is a patch management toolhttps://blackfin.uclinux.org/doku.php?id=an_introduction_to_quilt_tool quilt refresh is the command that actually makes your new patch file appear in its proper place. |