CVS cheatsheet

Jul 15, 2011
Tested on: CentOS release 5.6 (Final)

There are many other CVS cheatsheets & books on the web. This is my version, which is intended to grow with time but will be less verbose (might not be good for beginners).
  • Update current working directory with prune & build directories cvs update -P -d
  • Difference between current version & latest repository version: cvs diff -cw <fileName>
  • Rename a file: mv <OldFileName> <NewFileName> cvs remove <OldFileName> cvs add <NewFileName> cvs commit -m "Renamed <OldFileName> to <NewFileName>" <OldFileName> <NewFileName>