CVS
This page is about CVS (Concurrent Versions System), a version control
system that has become indispensible for my everyday computing life.
Apart from more obvious applications, it allows to easily update and
synchronise Unix directories like ${HOME}/bin, ${HOME}/tex/inputs or
IDL library directories over different computers.
Top ten CVS commands
The following CVS commands are the ones I most frequently use, the most
useful ones listed first.
-
(check what
cvs update
would do, to see which files
have changed, etc.
The -q
flag is so useful you should consider putting it
into ~/.cvsrc
)
-
(update current directory including possible generation of
subdirectories)
-
(commit changes, additions etc.)
-
(difference to original version)
or
(difference to latest repository version)
A variant is
cvs diff -u -rHEAD file |
a2ps -Eudiff --prologue=diff -Pdisplay
|
(prettyprint difference between local and latest version)
-
(check module out of repository)
-
(flag addition of file to repository)
cvs checkout -d directory module
|
(check out module into specific directory)
-
(print log messages for file)
-
(show listing which indicates version and author of each
line)
cvs import repository vendor-tag
release-tag
|
(import current directory)
Troubleshooting
pcl-cvs (or cvs-pcl) mode in Emacs
More documentation
You may find my `Quick Introduction to CVS' useful
(300kB PDF or
58kB gzipped PostScript).
Or you may want to check out some
Web Resources
Last updated 15-Apr-2002
by Wolfgang Dobler
Send comments to
Wolfgang.Dobler@kis.uni-freiburg.de