Department of Electronic Systems

CVS is the abbreviation of Concurrent Version System, and is an advanced tool providing version control to many types of projects.

A widely used area for version control is source code being it either LaTeX files, C source code, or other text files.

This guide will provide you with a introduction to setup CVS for a project and how to use CVS from the command line. Futhermore some more advanced uses of CVS will be given at the end. Additional information can be found by using the man pages (man cvs), the info pages on CVS (info cvs), or on



Initialization of the CVS repository

CVS Commands

Daily Usage

Advanced Features

Daily work routine

Let's assume, that you or one of your group members has initialised the CVS-repository, and has setup your CVSROOT enviroment variable to the path of the CVS repository, and that you have done a "cvs checkout report" to check out the "report" repository (More info here). The daily work routine would then be:

Update your local copy

cvs update -d 

Edit files.

Update again to check if anyone have edited the same documents

cvs update -d 

If the update succeded its time to commit the changes

cvs commit 

Thats it. You have now checked in the documents to the servers repository.

You can find more commands in the CVS Usage section.