GNU Home
Documentation
Tools
Patch
To generate a diff file using CVS:cvs diff -u > diffu.txt
To apply a patch from your current directory to subfolders and files: patch -u -p0 <diffu.txt
To revert a patch: patch -R -u -p0 <diffu.txt
I think we could probably spare the -u option when applying the patch since unified diff must be the default format.
Get Patch for Windows.