CVS Quick Reference: A CVS Command Looks Like
CVS Quick Reference: A CVS Command Looks Like
Feedback
Keywords
$Author: dprice $
$Date: 2001/06/15 02:18:18 $
$Header: /usr/local/tigris/data/helm/cvs/repository/www/www/do
$Id: ref.html,v 1.10 2001/06/15 02:18:18 dprice Exp $
$Locker: $
$Name: $
$RCSfile: ref.html,v $
$Revision: 1.10 $
$Source: /usr/local/tigris/data/helm/cvs/repository/www/www/do
$State: Exp $
$Log: ref.html,v $
Revision 1.10 2001/06/15 02:18:18 dprice
Tidied.
-k k f l a g
Set keyword expansion.
-m msg
Set file description.
admin [o p t i o n s ] [f i l e s ...]
Administration of history files in the repository.
-b[r e v ]
Set default branch.
-cs t r i n g
Set comment leader.
-ks u b s t
Set keyword substitution.
-l[r e v ]
Lock revision rev, or latest revision.
-mr e v :msg
Replace the log message of revision rev with msg.
-or a n g e
Delete revisions from the repository.
-q
Run quietly; do not print diagnostics.
-ss t a t e [:r e v ]
Set the state.
-t
Set file description from standard input.
-tf i l e
Set file description from file.
-t-s t r i n g
Set file description to string.
-u[r e v ]
Unlock revision rev, or latest revision.
annotate [o p t i o n s ] [f i l e s ...]
Show last revision where each line was modified.
-D d a t e
Annotate the most recent revision no later than date.
-f
Use head revision if tag/date not found.
-l
Local; run only in current working directory.
-R
Operate recursively (default).
-r t a g
Annotate revision tag.
checkout [o p t i o n s ] m o d u l e s ...
Get a copy of the sources.
-A
Reset any sticky tags/date/options.
-c
Output the module database.
-D d a t e
Check out revisions as of date (is sticky).
-d d i r
Check out into dir.
-f
Use head revision if tag/date not found.
-j r e v
Merge in changes.
-k k f l a g
Use kflag keyword expansion.
-l
Local; run only in current working directory.
-N
Don't "shorten" module paths if -d specified.
-n
commit [o p t i o n s ] [f i l e s ...]
Check changes into the repository.
-F f i l e
Read log message from file.
-f
Force the file to be committed; disables recursion.
-l
Local; run only in current working directory.
-m msg
Use msg as log message.
-n
Do not run module program (if any).
-R
Operate recursively (default).
-r r e v
Commit to rev.
diff [o p t i o n s ] [f i l e s ...]
Show differences between revisions. In addition to the options shown below
example `-c' for context diffs.
-D d a t e 1
Diff revision for date against working file.
-D d a t e 2
Diff rev1/date1 against date2.
-l
Local; run only in current working directory.
-N
Include diffs for added and removed files.
-R
Operate recursively (default).
-r r e v 1
Diff revision for rev1 against working file.
-r r e v 2
Diff rev1/date1 against rev2.
edit [o p t i o n s ] [f i l e s ...]
Get ready to edit a watched file.
-a a c t i o n s
Specify actions for temporary watch, where actions is edit, unedit
-l
Local; run only in current working directory.
-R
Operate recursively (default).
editors [o p t i o n s ] [f i l e s ...]
See who is editing a watched file.
-l
Local; run only in current working directory.
-R
Operate recursively (default).
export [o p t i o n s ] m o d u l e s ...
Export files from CVS.
-D d a t e
Check out revisions as of date.
-d d i r
Check out into dir.
-f
Use head revision if tag/date not found.
-k k f l a g
Use kflag keyword expansion.
-l
Local; run only in current working directory.
-N
Don't "shorten" module paths if -d specified.
-n
Do not run module program (if any).
-P
Prune empty directories.
-R
Operate recursively (default).
-r t a g
Checkout revision tag.
history [o p t i o n s ] [f i l e s ...]
Show repository access history.
-a
All users (default is self).
-b s t r
Back to record with str in module/file/repos field.
-c
Report on committed (modified) files.
-D d a t e
Since date.
-e
Report on all record types.
-l
Last modified (committed or modified report).
-m m o d u l e
Report on module (repeatable).
-n m o d u l e
In module.
-o
Report on checked out modules.
-r r e v
Since revision rev.
-T
Produce report on all TAGs.
-t t a g
Since tag record placed in history file (by anyone).
-u u s e r
For user user (repeatable).
-w
Working directory must match.
-x t y p e s
Report on types, one or more of TOEFWUCGMAR.
-z z o n e
Output for time zone zone.
import [o p t i o n s ] r e p o s i t o r y v e n d o r - t a g r e l e a s e - t a g s ...
-b b r a
Import to vendor branch bra.
-d
Use the file's modification time as the time of import.
-k k f l a g
Set default keyword substitution mode.
-m msg
Use msg for log message.
-I i g n
More files to ignore (! to reset).
-W s p e c
More wrappers.
init
Create a CVS repository if it doesn't exist.
log [o p t i o n s ] [f i l e s ...]
Print out history information for files.
-b
Only list revisions on the default branch.
-d d a t e s
Specify dates (d1<d2 for range, d for latest before).
-h
Only print header.
-l
Local; run only in current working directory.
-N
Do not list tags.
-R
Only print name of RCS file.
-rr e v s
Only list revisions revs.
-s s t a t e s
Only list revisions with specified states.
-t
Only print header and descriptive text.
-wl o g i n s
Only list revisions checked in by specified logins.
login
Prompt for password for authenticating server.
logout
Remove stored password for authenticating server.
rdiff [o p t i o n s ] m o d u l e s ...
Show differences between releases.
-c
Context diff output format (default).
-D d a t e
Select revisions based on date.
-f
Use head revision if tag/date not found.
-l
Local; run only in current working directory.
-R
Operate recursively (default).
-r r e v
Select revisions based on rev.
-s
Short patch - one liner per file.
-t
Top two diffs - last change made to the file.
-u
Unidiff output format.
-V v e r s
Use RCS Version vers for keyword expansion (obsolete).
release [o p t i o n s ] d i r e c t o r y
Indicate that a directory is no longer in use.
-d
Delete the given directory.
remove [o p t i o n s ] [f i l e s ...]
Remove an entry from the repository.
-f
Delete the file before removing it.
-l
Local; run only in current working directory.
-R
Operate recursively (default).
rtag [o p t i o n s ] t a g m o d u l e s ...
Add a symbolic tag to a module.
-a
Clear tag from removed files that would not otherwise be tagged.
-b
Create a branch named tag.
-D d a t e
Tag revisions as of date.
-d
Delete tag.
-F
Move tag if it already exists.
-f
Force a head revision match if tag/date not found.
-l
Local; run only in current working directory.
-n
No execution of tag program.
-R
Operate recursively (default).
-r r e v
Tag existing tag rev.
status [o p t i o n s ] f i l e s ...
Display status information in a working directory.
-l
Local; run only in current working directory.
-R
Operate recursively (default).
-v
Include tag information for file.
tag [o p t i o n s ] t a g [f i l e s ...]
Add a symbolic tag to checked out version of files.
-b
Create a branch named tag.
-c
Check that working files are unmodified.
-D d a t e
unedit [o p t i o n s ] [f i l e s ...]
Undo an edit command.
-a a c t i o n s
Specify actions for temporary watch, where actions is edit, unedit
-l
Local; run only in current working directory.
-R
Operate recursively (default).
update [o p t i o n s ] [f i l e s ...]
Bring work tree in sync with repository.
-A
Reset any sticky tags/date/options.
-D d a t e
Check out revisions as of date (is sticky).
-d
Create directories.
-f
Use head revision if tag/date not found.
-I i g n
More files to ignore (! to reset).
-j r e v
Merge in changes.
-k k f l a g
Use kflag keyword expansion.
-l
Local; run only in current working directory.
-P
Prune empty directories.
-p
Check out files to standard output (avoids stickiness).
-R
Operate recursively (default).
-r t a g
Checkout revision tag (is sticky).
-W s p e c
More wrappers.
-a a c t i o n s
Specify actions for temporary watch, where actions is edit, unedit
-l
Local; run only in current working directory.
-R
Operate recursively (default).
watchers [o p t i o n s ] [f i l e s ...]
See who is watching a file.
-l
Local; run only in current working directory.
-R
Operate recursively (default).
Copyright © 1999-2002 CollabNet, Inc. CollabNet and SourceCast are tradema
All other trademarks or registered trademarks are the property of their respect