CVS manual for the Fud-counter web site

This document is just a quick step-by-step manual for using the CVS system when helping with the fine tuning doc project. If you want to know the principles behind CVS, I suggest you check out the Per Cederqvist manual...

People who want to help with the project can apply for an account by mailing to riel@nl.linux.org.

Preparations:

$ export CVSROOT=:pserver:<login>@nl.linux.org:/home/CVS (repository position)
$ cvs login (use your password)
$ cvs checkout fud-counter (now you're ready to work)

Working with CVS:

Always check out the latest version before you start editing, otherwise you might be editing an outdated version and doing useless work ;)

$ cvs update -PAd (get the latest stuff)
$ <edit> file
$ cvs update file (anybody else at work?)
$ cvs commit -m "I did this-and-that" file (update the main repository with your changes)

CVS version Id string:

When working with CVS, you'll see that the file you're editing contains a string like this:

$Id: cvs_manual.html,v 1.1.1.1 2004/03/29 23:21:03 cor Exp $

This string tells you who which file it is (well, you knew that), which version of the file you're dealing with, when it was last edited and by whom. You do NOT neet to worry about this string or edit it by hand -- CVS will do this automatically as soon as you commit your changes.

Adding a new file/directory:

$ mkdir newdir
$ edit newdir/newfile
$ cvs add newdir (schedule addition)
$ cvs commit newdir (do the addition for real)
$ cvs update (now your dir will be a real CVS dir)

More information:

http://www.cyclic.com/
http://www.nl.linux.org/~riel/CVS/

If you've got any more questions, you can always look up the answer on www.cyclic.com or ask me...

Rik van Riel <riel@nl.linux.org>

HTMLized by Thomas Pfau <pfau@eclipse.net>

$Id: cvs_manual.html,v 1.1.1.1 2004/03/29 23:21:03 cor Exp $