To setup in csh:
[username@pc]$ setenv CVSROOT
:pserver:[username]@cp4.uchicago.edu:/theta13/cvs
[username@pc]$ cvs login
To setup in bash:
[username@pc]$ export
CVSROOT=":pserver:[username]@cp4.uchicago.edu:/theta13/cvs"
[username@pc]$ cvs login
To check out a package with a version (no version gives you code
from the head):
[username@pc]$ cvs checkout [-r
version] YourPackage
To check your code against the repository:
[username@pc]$ cvs diff YourFile
To merge updates from the repository into your code:
[username@pc]$ cvs update YourFile
To check code back in:
[username@pc]$ cvs commit -m "text
message describing your changes" YourFile1 YourFile2...
To check the history of your code:
[username@pc]$ cvs log YourFile
When you are done:
[username@pc]$ cvs logout
Here is an example session.
New Users: If you are using CVS for the first time, please email your username to Matt so that he can add you to the list and give you a password.
Matthew Worcester Last modified: Fri Oct 22 14:13 CDT 2004