—A—

add a new file to a directory, follow these steps.

You can also use the add command to add a new directory.

Unlike most other commands, the add command is not recursive. You have to expcicitly name files and directories that you wish to add to the repository. However, each directory will need to be added separately before you will be able to add new files to those directories.

$ mkdir -p foo/bar

$ cp ~/myfile foo/bar/myfile

$ cvs add foo foo/bar

$ cvs add foo/bar/myfile

—B—

—C—

changes, see before you check in – cvs diff filename

compare 2 files – cvs diff -r1.1 -r1.2 fileName | less

—D—

difference between files – cvs diff -r1.1 -r1.2 fileName | less

—E—

edited, which files are being edited in CVS – cvs editors or ee

—F—

files being edited in CVS, which – cvs editors or ee

—G—

—H—

history – cvs log asEditProject | less – this will lock everyone else out until you type ‘q’ to quit

—I—

—J—

—K—

—L—

—M—

—N—

—O—

old file, difference between old file and new – see difference between files

 

—P—

—Q—

—R—

remove a file, but remain able to retrieve old revisions:

revert to a previous version, just undo current uncommitted changes – cvs unedit

revert to a previous version (checking out, leaving CVS repository unchanged) - cvs update -p -r VERSION FILENAME > FILE

so, for example, cvs update -p -r 1.280 frProjects > frProjects1-280

revert to a previous version (actually changing the CVS repository back to a previous version)

Might want to look at your changes first

joe@davinci~/httpd/cgi-bin/ws: cvs diff -r 1.81 -r 1.80 salesRepProjects  | less

Then, if OK, make a patch

joe@davinci~/httpd/cgi-bin/ws: cvs diff -r 1.81 -r 1.80 salesRepProjects  | patch

patching file salesRepProjects

Do a CVS update

joe@davinci~/httpd/cgi-bin/ws: upd

M salesRepProjects

Might want to look at your changes one last time

joe@davinci~/httpd/cgi-bin/ws: cvs diff salesRepProjects | less

Then, commit

joe@davinci~/httpd/cgi-bin/ws: cvs commit -m 'Undo last change' salesRepProjects      

/usr/local/cvsroot/httpd/cgi-bin/ws/salesRepProjects,v  <--  salesRepProjects

new revision: 1.82; previous revision: 1.81

—S—

—T—

—U—

undoing changes (revert to a previous version) - cvs update -p -r VERSION FILENAME > FILE

so, for example, cvs update -p -r 1.280 frProjects > frProjects1-280

—V—

version – cvs status filename

—W—

which files are being edited in CVS – cvs editors or ee

—X—

—Y—

—Z—

—No's—