CVS Quick Start

Source: Internet
Author: User

Daily use 1, checkout items from the library to the local
CVS Co project_name
2, check the difference between the local and the library
CVS  -q-n up-d
3, apply the changes in the library to the local
Cvs-q up-d
4. Add a new Folder/file
CVS Add filename
5, upload local changes to the library
CVS ci-m "comment" filename
The GUI uses Tkcvs:cvs's graphical management interface, which can be used to accomplish most of the daily commands Tkdiff: To compare files with other common command 6, to quickly compare files with the same (only care about the same)
CVS diff filename
7. Delete the files in the library
RM filename; CVS RM filename; CVS ci-m "xx"  filename;orcvs rm-f filename; CVS ci-m "xx" ffilename;
8. Recover files
CVS up-p filename > Filenamecvs ci-m "Back to previous version" filename
9, hit tag
CVS Tag-f tag_name Project_Name
10, new branch
CVS Tag-b branch_name./
One, Checkout specific tag version
CVS Co-r tag_name or branch_name project_name
12, export file (does not include CVS folder)
CVS export-d now Project_namecvs export-r tag_name project_name
13, Login (first time use)
CVS Login
14, view Log
CVS log filename

CVS Quick Start

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.