CVS quick reference

From Wikistix
Jump to: navigation, search

This article is a stub. Please expand it if you have more information.

.cvsrc

Mine contains:

commit -R
update -P -d -I \!
diff -u -d
rdiff -u
tag -R -c
rtag -R
cvs -z3 -q -T /tmp

Adding a new file or directory

$ cvs add file1 ...

Removing a repository file

Checked out file can not have sticky tags. File is moved to the "Attic".

$ cvs up -A file1 ...
$ cvs rm -f file1 ...

Checking in modifications to a new branch

[[ hacked sources are present ]]
$ cvs tag -b experiment1
$ cvs update -r experiment1
$ cvs commit

or:

$ cvs tag -b experiment1
$ cvs commit -r experiment1

Tagging checked out versions

$ cvs tag -b 

See Also


Misinformation found herein copyright Paul Ripke (aka “stix”) stixpjr@gmail.com.