HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cvs — Concurrent Versions System, a revision control system. More information: <https://manned.org/cvs>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
concurrentcommandcvsversionsclicontrolrevisionsystem

Problem

How to use the cvs command: Concurrent Versions System, a revision control system. More information: <https://manned.org/cvs>.

Solution

cvs — Concurrent Versions System, a revision control system. More information: <https://manned.org/cvs>.

Create a new repository (requires the $CVSROOT environment variable to be set externally):
cvs -d {{path/to/repository}} init


Add a project to the repository:
cvs import -m "{{message}}" {{project_name}} {{version}} {{vendor}}


Checkout a project:
cvs checkout {{project_name}}


Show changes made to files:
cvs diff {{path/to/file}}


Add a file:
cvs add {{path/to/file}}


Commit a file:
cvs commit -m "{{message}}" {{path/to/file}}


Update the working directory from the remote repository:
cvs update

Code Snippets

Create a new repository (requires the `$CVSROOT` environment variable to be set externally)

cvs -d {{path/to/repository}} init

Add a project to the repository

cvs import -m "{{message}}" {{project_name}} {{version}} {{vendor}}

Checkout a project

cvs checkout {{project_name}}

Show changes made to files

cvs diff {{path/to/file}}

Add a file

cvs add {{path/to/file}}

Context

tldr-pages: common/cvs

Revisions (0)

No revisions yet.