CVS Quickstart Guide: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
The first step is to log into the remote CVS repository. You will need to set your CVSROOT environment variable to the remote pserver connection. For example: | The first step is to log into the remote CVS repository. You will need to set your CVSROOT environment variable to the remote pserver connection. For example: | ||
<nowiki> | <nowiki> | ||
# export CVSROOT=:pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test | # export CVSROOT=:pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test<br> | ||
# cvs login | # cvs login<br> | ||
Logging in to :pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test | Logging in to :pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test<br> | ||
CVS password: ******** | CVS password: ********<br> | ||
Checkout Repository | Checkout Repository<br> | ||
# cd /tmp | # cd /tmp | ||
# export CVSROOT=:pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test | # export CVSROOT=:pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test | ||
Line 61: | Line 61: | ||
== Mailing List == | == Mailing List == | ||
A mailing list has been created to facilitate better communication between the CVS users and the ITTC system administrators. To request an account, email | A mailing list has been created to facilitate better communication between the CVS users and the ITTC system administrators. To request an account, email help@ittc.ku.edu. |
Revision as of 14:59, 22 September 2006
CVS Usage
The first step is to log into the remote CVS repository. You will need to set your CVSROOT environment variable to the remote pserver connection. For example: # export CVSROOT=:pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test<br> # cvs login<br> Logging in to :pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test<br> CVS password: ********<br> Checkout Repository<br> # cd /tmp # export CVSROOT=:pserver:username@cvs.ittc.ku.edu:2401/projects/cvs/test # cvs co test # cd test Check In Changes # cvs co test # cd test # vi file1 # cvs ci file1 Importing into Repository # cd /tmp # mkdir test1 # cd test1 # touch File1 # cvs import test1 INITIAL start Adding Directories # cd /tmp # cvs co test # cd test # mkdir New # cvs add New Adding Files # cd /tmp # cvs co test # cd test # touch file1 # touch file2 # cvs add file* # cvs commit -m "Added new files" Tagging Files # cd /tmp # cvs co test # cd test # cvs tag Stage1 file1 Checkout Tagged Files # cd /tmp # cvs co test # cd test # cvs co -r Stage1 test Remove Tag from Files # cd /tmp # cvs co test # cd test # cvs tag -d Stage1 file1 Checkout Fresh Copy # cd /tmp # rm -rf test # cvs co test Additional commands and information can be found in the [CVS Manual].
Mailing List
A mailing list has been created to facilitate better communication between the CVS users and the ITTC system administrators. To request an account, email help@ittc.ku.edu.