CVS usage is generally depreciated in favor of git or SVN. More information regarding version control systems can be found here.


What follows is a general tutorial on how to use CVS if you already have a repository hosted somewhere.

From any unix host, such as pamd, ensure all your files for your repository are under the same directory tree.

Set environmental variables by editing your .profile.

export CVSROOT
export CVS_RSH

csh, tsch:

setenv CVSROOT {mylogin}
setenv CVS_RSH ssh

Import to your repository on the CVS server.

cvs import -m "{message}" {myproject} {myname} {start}

To create a working copy of your directory:

cvs checkout {myproject}

Edit a file and check the differences:

cvs diff

To commit your changes:

cvs commit