CVS Common Command client Chapter 1. Connecting to remote libraries
CVSROOT=:pserver:[user]@[server][cvs库路径,如/home/cvsroot/devel]CVS_RSH=sshCVSEDITOR=/usr/bin/emacsclientexport CVSROOT CVS_RSH CVSEDITOR
2. Log in to the remote library
cvs login
3. Checkout Project
- Checkout Item project to Folder dir
-d dir path/to/project
- If you do not specify a path dir,project the default download path is
path/to/project
4. Compare the current file with the files in the library
cvs diff fileName
5. Submit the file to the library
-m"comments" fileName
6. Update files
update fileName
7. File status
cvs status fileName
8. deleting files
remove"comment" fileName
CVS Common command Server (not finished) 1. CVS environment variable Configuration
# CVS环境变量配置export CVSROOT=/path/to/cvsroot
2. CVS initialization
cd /path/to-d /path/to/cvsroot/project1 init
If an error
cvs init: No CVSROOT specified! `-d‘ optioncvs [init aborted]: or set the CVSROOT environment variable.
Please return to step 1 to configure Cvsroot
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
CVS Common commands