Maxime Chambreuil

Monday July 2, 2007

How to use CVS ? What are the basic commands ?

Max @ 22:08 | Filed under: Information Technology

Set your CVSROOT variable environment in your .bashrc :

$ export CVSROOT=:ext:@:/path/to/cvs/repository

To import an existing project to the CVS server :

$ cd files/of/your/project
$ cvs import -m " - Initial version."
 init devel

To upload files to the CVS server :

$ cvs commit -m "Comments"

To retrieve files from the CVS server :

$ cvs checkout
 

To update your files from the CVS server :

$ cvs update

To get information of a file :

$ cvs log  

To compare your file from his copy on the CVS :

$ cvs diff

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Copyright © Maxime Chambreuil