Committing Your changes

Having set up your environment variables as outlined above (and your connected to the net) you can readily do the following:

Commit your changes

To commit the changes to an existing file it is best to issue the following from the same directory:
 
      cvs commit -m "comment about changes." filename 

The -m switch equals message. This is added to the file on commit at the CVS repository. If you want to leave a longer message simply leave the switch off and CVS will open your default line editor when you do your commit.

Adding Files and Directories

To ADD a NEW file to the CVS repository at any time (you are asking CVS to manage its versions for you) issue the following from within the working directory:
      cvs add filename
and later while online :
      cvs commit -m "comment about added file" filename 

The same applies to new directories. With the caveat that any directory needs to contain at least 1 file. (add a visible file called "cvs-keepme" or README (with a brief explanation of what the directory is for) if there is nothing else.)

CVS manages files not directories. Empty directories will be pruned. Once added a directory is never really removed.. this is _not a problem_ .. just so you know though.