mkdir /home/daly/cvs cvs -d /home/daly/cvs init mkdir /home/daly/cvs/projectThe first step just creates an ordinary directory to store files.
You can now move to your home directory and start building a project:
cd ~ cvs -d/home/daly/cvs co project cd project (make a new file, eg. file1.c) cvs add file1.c cvs commit -m"add our first file"The first step moves us to our home directory (/home/daly).
Since we finished making changes to the project we no longer need our local project directory. We can erase it completely:
cd ~ rm -rf project
But since the project is part of the repository we can recover it at any time:
cd ~ cvs -d/home/daly/cvs co projectand our directory and files appear again.
Most open source projects are already set up.
In fact, if you set up your project with one of the major sites
(freshmeat, sourceforge, savannah) they will automatically set up a
CVS server for you.