Go to the first, previous, next, last section, table of contents.
This appendix describes how to invoke CVS, with
references to where each command or feature is
described in detail. Other relevant references are the
`--help'/`-H' option to CVS
(see section A.4 Global options) and section Index.
add [options] [files...]
-
Add a new file/directory. See section 9 Adding files to a directory.
-k kflag
-
Set keyword expansion.
-m msg
-
Set file description.
admin [options] [files...]
-
Administration of history files in the repository. See
section A.6 admin--Administration front end for rcs.
-b[rev]
-
Set default branch.
-cstring
-
Set comment leader.
-ksubst
-
Set keyword substitution. See section 16 Keyword substitution.
-l[rev]
-
Lock revision rev, or latest revision.
-mrev:msg
-
Replace the log message of revision rev with
msg.
-orange
-
Delete revisions from the history files
-q
-
Run quietly; do not print diagnostics.
-sstate[:rev]
-
Set the state.
-t
-
Set file description from standard input.
-tfile
-
Set file description from file.
-t-string
-
Set file description to string.
-u[rev]
-
Unlock revision rev, or latest revision.
annotate [options] [files...]
-
Show last revision where each line was modified. See
section 15.4 Annotate command.
-D date
-
Annotate the most recent revision no later than
date. See section A.5 Common command options.
-f
-
Use head revision if tag/date not found. See
section A.5 Common command options.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r tag
-
Annotate revision tag. See section A.5 Common command options.
checkout [options] modules...
-
Get a copy of the sources. See section A.7 checkout--Check out sources for editing.
-A
-
Reset any sticky tags/date/options. See section 6.7 Sticky tags and section 16 Keyword substitution.
-c
-
Output the module database. See section A.7.1 checkout options.
-D date
-
Check out revisions as of date (is sticky). See
section A.5 Common command options.
-d dir
-
Check out into dir. See section A.7.1 checkout options.
-f
-
Use head revision if tag/date not found. See
section A.5 Common command options.
-j rev
-
Merge in changes. See section A.7.1 checkout options.
-k kflag
-
Use kflag keyword expansion. See
section 16.4 Substitution modes.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-N
-
Don't shorten module paths if -d specified. See section A.7.1 checkout options.
-n
-
Do not run module program (if any). See section A.7.1 checkout options.
-P
-
Prune empty directories. See section 14 Moving and renaming directories.
-p
-
Check out files to standard output (avoids
stickiness). See section A.7.1 checkout options.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r tag
-
Checkout revision tag (is sticky). See section A.5 Common command options.
-s
-
Like -c, but include module status. See section A.7.1 checkout options.
commit [options] [files...]
-
Check changes into the repository. See section A.8 commit--Check files into the repository.
-F file
-
Read log message from file. See section A.8.1 commit options.
-f
-
Force the file to be committed; disables recursion.
See section A.8.1 commit options.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-m msg
-
Use msg as log message. See section A.8.1 commit options.
-n
-
Do not run module program (if any). See section A.8.1 commit options.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r rev
-
Commit to rev. See section A.8.1 commit options.
diff [options] [files...]
-
Show differences between revisions. See section A.9 diff--Show differences between revisions.
In addition to the options shown below, accepts a wide
variety of options to control output style, for example
`-c' for context diffs.
-D date1
-
Diff revision for date against working file. See
section A.9.1 diff options.
-D date2
-
Diff rev1/date1 against date2. See
section A.9.1 diff options.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-N
-
Include diffs for added and removed files. See
section A.9.1 diff options.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r rev1
-
Diff revision for rev1 against working file. See
section A.9.1 diff options.
-r rev2
-
Diff rev1/date1 against rev2. See section A.9.1 diff options.
edit [options] [files...]
-
Get ready to edit a watched file. See section 5.6.3 How to edit a file which is being watched.
-a actions
-
Specify actions for temporary watch, where
actions is
edit
, unedit
,
commit
, all
, or none
. See
section 5.6.3 How to edit a file which is being watched.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
editors [options] [files...]
-
See who is editing a watched file. See section 5.6.4 Information about who is watching and editing.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
export [options] modules...
-
Export files from CVS. See section A.10 export--Export sources from CVS, similar to checkout.
-D date
-
Check out revisions as of date. See
section A.5 Common command options.
-d dir
-
Check out into dir. See section A.10.1 export options.
-f
-
Use head revision if tag/date not found. See
section A.5 Common command options.
-k kflag
-
Use kflag keyword expansion. See
section 16.4 Substitution modes.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-N
-
Don't shorten module paths if -d specified. See section A.10.1 export options.
-n
-
Do not run module program (if any). See section A.10.1 export options.
-P
-
Prune empty directories. See section 14 Moving and renaming directories.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r tag
-
Checkout revision tag (is sticky). See section A.5 Common command options.
history [options] [files...]
-
Show repository access history. See section A.11 history--Show status of files and users.
-a
-
All users (default is self). See section A.11.1 history options.
-b str
-
Back to record with str in module/file/repos
field. See section A.11.1 history options.
-c
-
Report on committed (modified) files. See section A.11.1 history options.
-D date
-
Since date. See section A.11.1 history options.
-e
-
Report on all record types. See section A.11.1 history options.
-l
-
Last modified (committed or modified report). See section A.11.1 history options.
-m module
-
Report on module (repeatable). See section A.11.1 history options.
-n module
-
In module. See section A.11.1 history options.
-o
-
Report on checked out modules. See section A.11.1 history options.
-r rev
-
Since revision rev. See section A.11.1 history options.
-T
-
Produce report on all TAGs. See section A.11.1 history options.
-t tag
-
Since tag record placed in history file (by anyone).
See section A.11.1 history options.
-u user
-
For user user (repeatable). See section A.11.1 history options.
-w
-
Working directory must match. See section A.11.1 history options.
-x types
-
Report on types, one or more of
TOEFWUCGMAR
. See section A.11.1 history options.
-z zone
-
Output for time zone zone. See section A.11.1 history options.
import [options] repository vendor-tag release-tags...
-
Import files into CVS, using vendor branches. See
section A.12 import--Import sources into CVS, using vendor branches.
-b bra
-
Import to vendor branch bra. See
section 12.6 Multiple vendor branches.
-d
-
Use the file's modification time as the time of
import. See section A.12.1 import options.
-k kflag
-
Set default RCS keyword substitution mode. See
section A.12.1 import options.
-m msg
-
Use msg for log message. See
section A.12.1 import options.
-I ign
-
More files to ignore (! to reset). See
section A.12.1 import options.
-W spec
-
More wrappers. See section A.12.1 import options.
init
-
Create a CVS repository if it doesn't exist. See
section 3.6 Creating a repository.
log [options] [files...]
-
Print out history information for files. See section A.13 log--Print out log information for files.
-b
-
Only list revisions on the default branch. See section A.13.1 log options.
-d dates
-
Specify dates (d1<d2 for range, d for
latest before). See section A.13.1 log options.
-h
-
Only print header. See section A.13.1 log options.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-N
-
Do not list tags. See section A.13.1 log options.
-R
-
Only print name of RCS file. See section A.13.1 log options.
-r revs
-
Only list revisions revs. See section A.13.1 log options.
-s states
-
Only list revisions with specified states. See section A.13.1 log options.
-t
-
Only print header and descriptive text. See section A.13.1 log options.
-w logins
-
Only list revisions checked in by specified logins. See section A.13.1 log options.
login
-
Prompt for password for authenticating server. See
section 3.9.3.2 Using the client with password authentication.
logout
-
Remove stored password for authenticating server. See
section 3.9.3.2 Using the client with password authentication.
rdiff [options] modules...
-
Show differences between releases. See section A.14 rdiff---'patch' format diffs between releases.
-c
-
Context diff output format (default). See section A.14.1 rdiff options.
-D date
-
Select revisions based on date. See section A.5 Common command options.
-f
-
Use head revision if tag/date not found. See
section A.5 Common command options.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r rev
-
Select revisions based on rev. See section A.5 Common command options.
-s
-
Short patch - one liner per file. See section A.14.1 rdiff options.
-t
-
Top two diffs - last change made to the file. See
section A.9.1 diff options.
-u
-
Unidiff output format. See section A.14.1 rdiff options.
-V vers
-
Use RCS Version vers for keyword expansion. See
section A.14.1 rdiff options.
release [options] directory
-
Indicate that a directory is no longer in use. See
section A.15 release--Indicate that a Module is no longer in use.
-d
-
Delete the given directory. See section A.15.1 release options.
remove [options] [files...]
-
Remove an entry from the repository. See section 10 Removing files.
-f
-
Delete the file before removing it. See section 10 Removing files.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
rtag [options] tag modules...
-
Add a symbolic tag to a module. See section A.16 rtag--Add a symbolic tag to a module.
-a
-
Clear tag from removed files that would not otherwise
be tagged. See section A.16.1 rtag options.
-b
-
Create a branch named tag. See section A.16.1 rtag options.
-D date
-
Tag revisions as of date. See section A.16.1 rtag options.
-d
-
Delete the given tag. See section A.16.1 rtag options.
-F
-
Move tag if it already exists. See section A.16.1 rtag options.
-f
-
Force a head revision match if tag/date not found.
See section A.16.1 rtag options.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-n
-
No execution of tag program. See section A.16.1 rtag options.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r tag
-
Tag existing tag tag. See section A.16.1 rtag options.
status [options] files...
-
Display status information in a working directory. See
section 5.1 File status.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-v
-
Include tag information for file. See section 6.4 Tags--Symbolic revisions.
tag [options] tag [files...]
-
Add a symbolic tag to checked out version of files.
See section A.17 tag--Add a symbolic tag to checked out versions of files.
-b
-
Create a branch named tag. See section A.17.1 tag options.
-D date
-
Tag revisions as of date. See section A.17.1 tag options.
-d
-
Delete the given tag. See section A.17.1 tag options.
-F
-
Move tag if it already exists. See section A.17.1 tag options.
-f
-
Force a head revision match if tag/date not found.
See section A.17.1 tag options.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-n
-
No execution of tag program. See section A.17.1 tag options.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r tag
-
Tag existing tag tag. See section A.17.1 tag options.
unedit [options] [files...]
-
Undo an edit command. See section 5.6.3 How to edit a file which is being watched.
-a actions
-
Specify actions for temporary watch, where
actions is
edit
, unedit
,
commit
, all
, or none
. See
section 5.6.3 How to edit a file which is being watched.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
update [options] [files...]
-
Bring work tree in sync with repository. See
section A.18 update--Bring work tree in sync with repository.
-A
-
Reset any sticky tags/date/options. See section 6.7 Sticky tags and section 16 Keyword substitution.
-D date
-
Check out revisions as of date (is sticky). See
section A.5 Common command options.
-d
-
Create directories. See section A.18.1 update options.
-f
-
Use head revision if tag/date not found. See
section A.5 Common command options.
-I ign
-
More files to ignore (! to reset). See
section A.12.1 import options.
-j rev
-
Merge in changes. See section A.18.1 update options.
-k kflag
-
Use kflag keyword expansion. See
section 16.4 Substitution modes.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-P
-
Prune empty directories. See section 14 Moving and renaming directories.
-p
-
Check out files to standard output (avoids
stickiness). See section A.18.1 update options.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
-r tag
-
Checkout revision tag (is sticky). See section A.5 Common command options.
-W spec
-
More wrappers. See section A.12.1 import options.
watch [on|off|add|remove] [options] [files...]
-
on/off: turn on/off read-only checkouts of files. See
section 5.6.1 Telling CVS to watch certain files.
add/remove: add or remove notification on actions. See
section 5.6.2 Telling CVS to notify you.
-a actions
-
Specify actions for temporary watch, where
actions is
edit
, unedit
,
commit
, all
, or none
. See
section 5.6.3 How to edit a file which is being watched.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
watchers [options] [files...]
-
See who is watching a file. See section 5.6.4 Information about who is watching and editing.
-l
-
Local; run only in current working directory. See section 8 Recursive behavior.
-R
-
Operate recursively (default). See section 8 Recursive behavior.
Go to the first, previous, next, last section, table of contents.