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.

bash:
CVSROOT={mylogin}@cvs.server.org:/data/cvs
CVS_RSH=ssh
export CVSROOT
export CVS_RSH

csh, tsch:

setenv CVSROOT {mylogin}@cvs.server.org:/data/cvs
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
Dept. of Scientific Computing
Florida State University
400 Dirac Science Library
Tallahassee, FL 32306-4120
Phone: (850) 644-1010
admin@sc.fsu.edu
© Scientific Computing, Florida State University
Scientific Computing