Monday, June 27, 2005

cvs from start

first make a directory to hold the repository, note one repository can include many projects
cd /home/greeness
mkdir repo

add a project named test into that directory
cd repo
mkdir test
cvs init

checkout the repository to elsewhere, add files into the project and commit the change
export CVSROOT=/home/greeness/repo
cd /home/greeness/work
cvs co test
cp ../*.cpp test
cvs add *.cpp
cvs commit *.cpp

tunel through ssh to get a copy of the project
cvs -d :ext:greeness@server.cmu.edu:/afs/blah/repository co modulename