CVS Common commands

Source: Internet
Author: User

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
    1. Checkout Item project to Folder dir
-d dir path/to/project
    1. If you do not specify a path dir,project the default download path ispath/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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.