Firstly set CVSROOT:
if you have the CVS remotely: ##STARTCODEBLOCK##
$ export CVSROOT="username@host.org:/home/username/CVS"##ENDCODEBLOCK##
if you have the CVS localy: ##STARTCODEBLOCK##
$ export CVSROOT="/home/username/CVS"##ENDCODEBLOCK##
Note: Add that to your .profile, it will help you a lot
Then init the CVS: ##STARTCODEBLOCK##
$ cvs init##ENDCODEBLOCK##
Then import your files: ##STARTCODEBLOCK##
$ cd SOURCEFOLDER; cvs import REPONAME YOURNAME VERSIONNAME##ENDCODEBLOCK##
Note: The VERSIONNAME cannot have a '$.,:;#' in it
Then to start, stay inside the SOURCEFOLDER and execute: ##STARTCODEBLOCK##
$ cvs checkout REPONAME##ENDCODEBLOCK##
Note: checkout only needed on first time
Then cd into REPONAME and make your changes
Note: You are allowed to move the checked out folder
Once you are done making changes:
Commit the changes: ##STARTCODEBLOCK##
$ cvs commit##ENDCODEBLOCK##
(Or if you wait to do it the quick way: ##STARTCODEBLOCK##
$ cvs commit -m "COMMITMSG"##ENDCODEBLOCK##
)
Then it depends on if you have it remotely if you need to do some more steps