1. Download and install CVS (check if your existing installation already has it installed). Here's a nice howto
2. Add these to your bashrc
$ export CVSROOT=/home/cvsroot
$ export EDITOR=/bin/vi
3. Create groups and users
$ groupadd cvs
$ useradd -g cvs -d $CVSROOT cvs
4. Initialize a repository
$ cvs init
This creates a repository in $CVSROOT (here, in /home/cvsroot)
5. Start a project. In your home directory:
$ mkdir mesh
$ cd mesh
$ cvs import -d mesh iitg ver_1_0 #iitg is vendor tag, ver_1_0 is release tag
6. Add directories and files
$ cvs add directory
$ cvs add file
$ cvs commit -m "file added"
Checking out in a remote location:
1. Add these to bashrc
export CVSROOT=:ext:root@172.16.26.45:/home/cvs
export CVS_RSH=ssh
export EDITOR=/bin/vi
2. Checkout
$ cvs co mesh/kernel
No comments:
Post a Comment