mkdir ~/422/
This directory is your working root. It does not have to be ~/422/. You decide yourself where to put your working root, and what name to give it.
Step 2 ** Go to the working root:
cd ~/422/
Step 3 ** Type:
setenv CVSROOT /cs/classes/cis422/S01/CVSARCHIVE/
Step 4 ** Get the architecture from the CVS repository as follows:
cvs checkout project1_base
This will create a directory named project1_base under your working root.
Step 5 ** You also need to get the structure of your CVS group directory as follows:
cvs checkout project1/422g$
where $ is replaced by your group number (for example, project1/422g1). This will create a hierarchical directory named project1/422g$ under your working root. We will call this directory project1/422g$ the working directory.
cd ~/working-root-path/project1/422g$
where working-root-path is the one you created in Step 1, and $ is replaced by your group number (for example, 422g1).
Step add-2 ** Type:
cvs add the_new_file.java
Step add-3 ** Type:
cvs commit -m "a short comment" the_new_file.java
Step checkout-2 ** Type:
cvs checkout project1/422g$
where $ is replaced by your group number.
Step checkout-3 ** Go to your working directory project1/422g$
cvs commit -m "a short comment" Kasparov.java
Step remove-2 ** Tell CVS that you really want to delete the file from your repository:
cvs remove old_code.java
Step remove-3 ** Perform the actual removal:
cvs commit old_code.java