Software and more...
Dev » GnuHome

GNU Home

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.

r5 - 29 Sep 2008 - 09:50:15 - StephaneLenclud
Copyright © 2006-2008 by the contributing authors. All right reserved.
Ideas, requests, problems send us feedback.
Syndicate this site RSSATOM