1<div id="Invoking-CVS"></div> 2<div class="header"> 3<p> 4Next: [[cvs: Reference manual for Administrative files#Reference manual for Administrative files|Administrative files]], Previous: [[cvs: Guide to CVS commands#Guide to CVS commands|CVS commands]], Up: [[cvs#Top|Top]] |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p> 5</div> 6 7---- 8 9<div id="Quick-reference-to-CVS-commands"></div> 10== Quick reference to CVS commands == 11<div id="index-Command-reference"></div> 12<div id="index-Reference_002c-commands"></div> 13<div id="index-Invoking-CVS"></div> 14 15This appendix describes how to invoke <small>CVS</small>, with 16references to where each command or feature is 17described in detail. For other references run the 18<code>cvs --help</code> command, or see [[cvs: Index#Index|Index]]. 19 20A <small>CVS</small> command looks like: 21 22<div class="example" style="margin-left: 3.2em"> 23 cvs <nowiki>[</nowiki> <var>global_options</var> <nowiki>]</nowiki> <var>command</var> <nowiki>[</nowiki> <var>command_options</var> <nowiki>]</nowiki> <nowiki>[</nowiki> <var>command_args</var> <nowiki>]</nowiki> 24</div> 25 26Global options: 27 28;<code>--allow-root=<var>rootdir</var></code> 29: Specify legal <small>CVSROOT</small> directory (server only) (not in <small>CVS</small> 1.9 and older). See [[cvs: Setting up the server for password authentication#Setting up the server for password authentication|Password authentication server]]. 30 31;<code>-a</code> 32: Authenticate all communication (client only) (not in <small>CVS</small> 1.9 and older). See [[cvs: Global options#Global options|Global options]]. 33 34;<code>-b</code> 35: Specify RCS location (<small>CVS</small> 1.9 and older). See [[cvs: Global options#Global options|Global options]]. 36 37;<code>-d <var>root</var></code> 38: Specify the <small>CVSROOT</small>. See [[cvs: The Repository#The Repository|Repository]]. 39 40;<code>-e <var>editor</var></code> 41: Edit messages with <var>editor</var>. See [[cvs: Committing your changes#Committing your changes|Committing your changes]]. 42 43;<code>-f</code> 44: Do not read the ‘<tt>~/.cvsrc</tt>’ file. See [[cvs: Global options#Global options|Global options]]. 45 46;<code>-H</code> 47;<code>--help</code> 48: Print a help message. See [[cvs: Global options#Global options|Global options]]. 49 50;<code>-l</code> 51: Do not log in ‘<tt>$CVSROOT/CVSROOT/history</tt>’ file. See [[cvs: Global options#Global options|Global options]]. 52 53;<code>-n</code> 54: Do not change any files. See [[cvs: Global options#Global options|Global options]]. 55 56;<code>-Q</code> 57: Be really quiet. See [[cvs: Global options#Global options|Global options]]. 58 59;<code>-q</code> 60: Be somewhat quiet. See [[cvs: Global options#Global options|Global options]]. 61 62;<code>-r</code> 63: Make new working files read-only. See [[cvs: Global options#Global options|Global options]]. 64 65;<code>-s <var>variable</var>=<var>value</var></code> 66: Set a user variable. See [[cvs: Expansions in administrative files#Expansions in administrative files|Variables]]. 67 68;<code>-T <var>tempdir</var></code> 69: Put temporary files in <var>tempdir</var>. See [[cvs: Global options#Global options|Global options]]. 70 71;<code>-t</code> 72: Trace <small>CVS</small> execution. See [[cvs: Global options#Global options|Global options]]. 73 74;<code>-v</code> 75;<code>--version</code> 76: Display version and copyright information for <small>CVS</small>. 77 78;<code>-w</code> 79: Make new working files read-write. See [[cvs: Global options#Global options|Global options]]. 80 81;<code>-x</code> 82: Encrypt all communication (client only). See [[cvs: Global options#Global options|Global options]]. 83 84;<code>-z <var>gzip-level</var></code> 85<div id="index-Compression-1"></div> 86<div id="index-Gzip-1"></div> 87: Set the compression level (client only). See [[cvs: Global options#Global options|Global options]]. 88 89Keyword expansion modes (see [[cvs: Substitution modes#Substitution modes|Substitution modes]]): 90 91<div class="example" style="margin-left: 3.2em"> 92 -kkv $<i></i>Id: file1,v 1.1 1993/12/09 03:21:13 joe Exp $ 93 -kkvl $<i></i>Id: file1,v 1.1 1993/12/09 03:21:13 joe Exp harry $ 94 -kk $<i></i>Id$ 95 -kv file1,v 1.1 1993/12/09 03:21:13 joe Exp 96 -ko <i>no expansion</i> 97 -kb <i>no expansion, file is binary</i> 98</div> 99 100Keywords (see [[cvs: Keyword List#Keyword List|Keyword list]]): 101 102<div class="example" style="margin-left: 3.2em"> 103 $<i></i>Author: joe $ 104 $<i></i>Date: 1993/12/09 03:21:13 $ 105 $<i></i>CVSHeader: files/file1,v 1.1 1993/12/09 03:21:13 joe Exp harry $ 106 $<i></i>Header: /home/files/file1,v 1.1 1993/12/09 03:21:13 joe Exp harry $ 107 $<i></i>Id: file1,v 1.1 1993/12/09 03:21:13 joe Exp harry $ 108 $<i></i>Locker: harry $ 109 $<i></i>Name: snapshot_1_14 $ 110 $<i></i>RCSfile: file1,v $ 111 $<i></i>Revision: 1.1 $ 112 $<i></i>Source: /home/files/file1,v $ 113 $<i></i>State: Exp $ 114 $<i></i>Log: file1,v $ 115 Revision 1.1 1993/12/09 03:30:17 joe 116 Initial revision 117 118</div> 119 120Commands, command options, and command arguments: 121 122;<code>add <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 123: Add a new file/directory. See [[cvs: Adding files to a directory#Adding files to a directory|Adding files]]. 124 125:;<code>-k <var>kflag</var></code> 126:: Set keyword expansion. 127 128:;<code>-m <var>msg</var></code> 129:: Set file description. 130 131;<code>admin <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 132: Administration of history files in the repository. See [[cvs: admin--Administration#admin—Administration|admin]]. 133 134:;<code>-b<nowiki>[</nowiki><var>rev</var><nowiki>]</nowiki></code> 135:: Set default branch. See [[cvs: Reverting to the latest vendor release#Reverting to the latest vendor release|Reverting local changes]]. 136 137:;<code>-c<var>string</var></code> 138:: Set comment leader. 139 140:;<code>-k<var>subst</var></code> 141:: Set keyword substitution. See [[cvs: Keyword substitution#Keyword substitution|Keyword substitution]]. 142 143:;<code>-l<nowiki>[</nowiki><var>rev</var><nowiki>]</nowiki></code> 144:: Lock revision <var>rev</var>, or latest revision. 145 146:;<code>-m<var>rev</var>:<var>msg</var></code> 147:: Replace the log message of revision <var>rev</var> with <var>msg</var>. 148 149:;<code>-o<var>range</var></code> 150:: Delete revisions from the repository. See [[cvs: admin options#admin options|admin options]]. 151 152:;<code>-q</code> 153:: Run quietly; do not print diagnostics. 154 155:;<code>-s<var>state</var><nowiki>[</nowiki>:<var>rev</var><nowiki>]</nowiki></code> 156:: Set the state. 157 158:;<code>-t</code> 159:: Set file description from standard input. 160 161:;<code>-t<var>file</var></code> 162:: Set file description from <var>file</var>. 163 164:;<code>-t-<var>string</var></code> 165:: Set file description to <var>string</var>. 166 167:;<code>-u<nowiki>[</nowiki><var>rev</var><nowiki>]</nowiki></code> 168:: Unlock revision <var>rev</var>, or latest revision. 169 170;<code>annotate <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 171: Show last revision where each line was modified. See [[cvs: Annotate command#Annotate command|annotate]]. 172 173:;<code>-D <var>date</var></code> 174:: Annotate the most recent revision no later than <var>date</var>. See [[cvs: Common command options#Common command options|Common options]]. 175 176:;<code>-F</code> 177:: Force annotation of binary files. (Without this option, binary files are skipped with a message.) 178 179:;<code>-f</code> 180:: Use head revision if tag/date not found. See [[cvs: Common command options#Common command options|Common options]]. 181 182:;<code>-l</code> 183:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 184 185:;<code>-R</code> 186:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 187 188:;<code>-r <var>tag</var></code> 189:: Annotate revision <var>tag</var>. See [[cvs: Common command options#Common command options|Common options]]. 190 191;<code>checkout <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <var>modules</var>…</code> 192: Get a copy of the sources. See [[cvs: checkout--Check out sources for editing#checkout—Check out sources for editing|checkout]]. 193 194:;<code>-A</code> 195:: Reset any sticky tags/date/options. See [[cvs: Sticky tags#Sticky tags|Sticky tags]] and [[cvs: Keyword substitution#Keyword substitution|Keyword substitution]]. 196 197:;<code>-c</code> 198:: Output the module database. See [[cvs: checkout options#checkout options|checkout options]]. 199 200:;<code>-D <var>date</var></code> 201:: Check out revisions as of <var>date</var> (is sticky). See [[cvs: Common command options#Common command options|Common options]]. 202 203:;<code>-d <var>dir</var></code> 204:: Check out into <var>dir</var>. See [[cvs: checkout options#checkout options|checkout options]]. 205 206:;<code>-f</code> 207:: Use head revision if tag/date not found. See [[cvs: Common command options#Common command options|Common options]]. 208 209:;<code>-j <var>rev</var></code> 210:: Merge in changes. See [[cvs: checkout options#checkout options|checkout options]]. 211 212:;<code>-k <var>kflag</var></code> 213:: Use <var>kflag</var> keyword expansion. See [[cvs: Substitution modes#Substitution modes|Substitution modes]]. 214 215:;<code>-l</code> 216:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 217 218:;<code>-N</code> 219:: Don’t “shorten” module paths if -d specified. See [[cvs: checkout options#checkout options|checkout options]]. 220 221:;<code>-n</code> 222:: Do not run module program (if any). See [[cvs: checkout options#checkout options|checkout options]]. 223 224:;<code>-P</code> 225:: Prune empty directories. See [[cvs: Moving and renaming directories#Moving and renaming directories|Moving directories]]. 226 227:;<code>-p</code> 228:: Check out files to standard output (avoids stickiness). See [[cvs: checkout options#checkout options|checkout options]]. 229 230:;<code>-R</code> 231:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 232 233:;<code>-r <var>tag</var></code> 234:: Checkout revision <var>tag</var> (is sticky). See [[cvs: Common command options#Common command options|Common options]]. 235 236:;<code>-s</code> 237:: Like -c, but include module status. See [[cvs: checkout options#checkout options|checkout options]]. 238 239;<code>commit <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 240: Check changes into the repository. See [[cvs: commit--Check files into the repository#commit—Check files into the repository|commit]]. 241 242:;<code>-F <var>file</var></code> 243:: Read log message from <var>file</var>. See [[cvs: commit options#commit options|commit options]]. 244 245:;<code>-f</code> 246:: Force the file to be committed; disables recursion. See [[cvs: commit options#commit options|commit options]]. 247 248:;<code>-l</code> 249:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 250 251:;<code>-m <var>msg</var></code> 252:: Use <var>msg</var> as log message. See [[cvs: commit options#commit options|commit options]]. 253 254:;<code>-n</code> 255:: Do not run module program (if any). See [[cvs: commit options#commit options|commit options]]. 256 257:;<code>-R</code> 258:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 259 260:;<code>-r <var>rev</var></code> 261:: Commit to <var>rev</var>. See [[cvs: commit options#commit options|commit options]]. 262 263;<code>diff <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 264: Show differences between revisions. See [[cvs: diff--Show differences between revisions#diff—Show differences between revisions|diff]]. In addition to the options shown below, accepts a wide variety of options to control output style, for example ‘<code>-c</code>’ for context diffs. 265 266:;<code>-D <var>date1</var></code> 267:: Diff revision for date against working file. See [[cvs: diff options#diff options|diff options]]. 268 269:;<code>-D <var>date2</var></code> 270:: Diff <var>rev1</var>/<var>date1</var> against <var>date2</var>. See [[cvs: diff options#diff options|diff options]]. 271 272:;<code>-l</code> 273:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 274 275:;<code>-N</code> 276:: Include diffs for added and removed files. See [[cvs: diff options#diff options|diff options]]. 277 278:;<code>-R</code> 279:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 280 281:;<code>-r <var>rev1</var></code> 282:: Diff revision for <var>rev1</var> against working file. See [[cvs: diff options#diff options|diff options]]. 283 284:;<code>-r <var>rev2</var></code> 285:: Diff <var>rev1</var>/<var>date1</var> against <var>rev2</var>. See [[cvs: diff options#diff options|diff options]]. 286 287;<code>edit <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 288: Get ready to edit a watched file. See [[cvs: How to edit a file which is being watched#How to edit a file which is being watched|Editing files]]. 289 290:;<code>-a <var>actions</var></code> 291:: Specify actions for temporary watch, where <var>actions</var> is <code>edit</code>, <code>unedit</code>, <code>commit</code>, <code>all</code>, or <code>none</code>. See [[cvs: How to edit a file which is being watched#How to edit a file which is being watched|Editing files]]. 292 293:;<code>-l</code> 294:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 295 296:;<code>-R</code> 297:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 298 299;<code>editors <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 300: See who is editing a watched file. See [[cvs: Information about who is watching and editing#Information about who is watching and editing|Watch information]]. 301 302:;<code>-l</code> 303:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 304 305:;<code>-R</code> 306:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 307 308;<code>export <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <var>modules</var>…</code> 309: Export files from <small>CVS</small>. See [[cvs: export--Export sources from CVS, similar to checkout#export—Export sources from CVS, similar to checkout|export]]. 310 311:;<code>-D <var>date</var></code> 312:: Check out revisions as of <var>date</var>. See [[cvs: Common command options#Common command options|Common options]]. 313 314:;<code>-d <var>dir</var></code> 315:: Check out into <var>dir</var>. See [[cvs: export options#export options|export options]]. 316 317:;<code>-f</code> 318:: Use head revision if tag/date not found. See [[cvs: Common command options#Common command options|Common options]]. 319 320:;<code>-k <var>kflag</var></code> 321:: Use <var>kflag</var> keyword expansion. See [[cvs: Substitution modes#Substitution modes|Substitution modes]]. 322 323:;<code>-l</code> 324:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 325 326:;<code>-N</code> 327:: Don’t “shorten” module paths if -d specified. See [[cvs: export options#export options|export options]]. 328 329:;<code>-n</code> 330:: Do not run module program (if any). See [[cvs: export options#export options|export options]]. 331 332:;<code>-R</code> 333:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 334 335:;<code>-r <var>tag</var></code> 336:: Checkout revision <var>tag</var>. See [[cvs: Common command options#Common command options|Common options]]. 337 338;<code>history <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 339: Show repository access history. See [[cvs: history--Show status of files and users#history—Show status of files and users|history]]. 340 341:;<code>-a</code> 342:: All users (default is self). See [[cvs: history options#history options|history options]]. 343 344:;<code>-b <var>str</var></code> 345:: Back to record with <var>str</var> in module/file/repos field. See [[cvs: history options#history options|history options]]. 346 347:;<code>-c</code> 348:: Report on committed (modified) files. See [[cvs: history options#history options|history options]]. 349 350:;<code>-D <var>date</var></code> 351:: Since <var>date</var>. See [[cvs: history options#history options|history options]]. 352 353:;<code>-e</code> 354:: Report on all record types. See [[cvs: history options#history options|history options]]. 355 356:;<code>-l</code> 357:: Last modified (committed or modified report). See [[cvs: history options#history options|history options]]. 358 359:;<code>-m <var>module</var></code> 360:: Report on <var>module</var> (repeatable). See [[cvs: history options#history options|history options]]. 361 362:;<code>-n <var>module</var></code> 363:: In <var>module</var>. See [[cvs: history options#history options|history options]]. 364 365:;<code>-o</code> 366:: Report on checked out modules. See [[cvs: history options#history options|history options]]. 367 368:;<code>-p <var>repository</var></code> 369:: In <var>repository</var>. See [[cvs: history options#history options|history options]]. 370 371:;<code>-r <var>rev</var></code> 372:: Since revision <var>rev</var>. See [[cvs: history options#history options|history options]]. 373 374:;<code>-T</code> 375:: Produce report on all TAGs. See [[cvs: history options#history options|history options]]. 376 377:;<code>-t <var>tag</var></code> 378:: Since tag record placed in history file (by anyone). See [[cvs: history options#history options|history options]]. 379 380:;<code>-u <var>user</var></code> 381:: For user <var>user</var> (repeatable). See [[cvs: history options#history options|history options]]. 382 383:;<code>-w</code> 384:: Working directory must match. See [[cvs: history options#history options|history options]]. 385 386:;<code>-x <var>types</var></code> 387:: Report on <var>types</var>, one or more of <code>TOEFWUCGMAR</code>. See [[cvs: history options#history options|history options]]. 388 389:;<code>-z <var>zone</var></code> 390:: Output for time zone <var>zone</var>. See [[cvs: history options#history options|history options]]. 391 392;<code>import <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <var>repository</var> <var>vendor-tag</var> <var>release-tags</var>…</code> 393: Import files into <small>CVS</small>, using vendor branches. See [[cvs: import--Import sources into CVS, using vendor branches#import—Import sources into CVS, using vendor branches|import]]. 394 395:;<code>-b <var>bra</var></code> 396:: Import to vendor branch <var>bra</var>. See [[cvs: Multiple vendor branches#Multiple vendor branches|Multiple vendor branches]]. 397 398:;<code>-d</code> 399:: Use the file’s modification time as the time of import. See [[cvs: import options#import options|import options]]. 400 401:;<code>-k <var>kflag</var></code> 402:: Set default keyword substitution mode. See [[cvs: import options#import options|import options]]. 403 404:;<code>-m <var>msg</var></code> 405:: Use <var>msg</var> for log message. See [[cvs: import options#import options|import options]]. 406 407:;<code>-I <var>ign</var></code> 408:: More files to ignore (! to reset). See [[cvs: import options#import options|import options]]. 409 410:;<code>-W <var>spec</var></code> 411:: More wrappers. See [[cvs: import options#import options|import options]]. 412 413;<code>init</code> 414: Create a <small>CVS</small> repository if it doesn’t exist. See [[cvs: Creating a repository#Creating a repository|Creating a repository]]. 415 416;<code>kserver</code> 417: Kerberos authenticated server. See [[cvs: Direct connection with kerberos#Direct connection with kerberos|Kerberos authenticated]]. 418 419;<code>log <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 420: Print out history information for files. See [[cvs: log--Print out log information for files#log—Print out log information for files|log]]. 421 422:;<code>-b</code> 423:: Only list revisions on the default branch. See [[cvs: log options#log options|log options]]. 424 425:;<code>-d <var>dates</var></code> 426:: Specify dates (<var>d1</var><<var>d2</var> for range, <var>d</var> for latest before). See [[cvs: log options#log options|log options]]. 427 428:;<code>-h</code> 429:: Only print header. See [[cvs: log options#log options|log options]]. 430 431:;<code>-l</code> 432:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 433 434:;<code>-N</code> 435:: Do not list tags. See [[cvs: log options#log options|log options]]. 436 437:;<code>-R</code> 438:: Only print name of RCS file. See [[cvs: log options#log options|log options]]. 439 440:;<code>-r<var>revs</var></code> 441:: Only list revisions <var>revs</var>. See [[cvs: log options#log options|log options]]. 442 443:;<code>-s <var>states</var></code> 444:: Only list revisions with specified states. See [[cvs: log options#log options|log options]]. 445 446:;<code>-t</code> 447:: Only print header and descriptive text. See [[cvs: log options#log options|log options]]. 448 449:;<code>-w<var>logins</var></code> 450:: Only list revisions checked in by specified logins. See [[cvs: log options#log options|log options]]. 451 452;<code>login</code> 453: Prompt for password for authenticating server. See [[cvs: Using the client with password authentication#Using the client with password authentication|Password authentication client]]. 454 455;<code>logout</code> 456: Remove stored password for authenticating server. See [[cvs: Using the client with password authentication#Using the client with password authentication|Password authentication client]]. 457 458;<code>pserver</code> 459: Password authenticated server. See [[cvs: Setting up the server for password authentication#Setting up the server for password authentication|Password authentication server]]. 460 461;<code>rannotate <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>modules</var>…<nowiki>]</nowiki></code> 462: Show last revision where each line was modified. See [[cvs: Annotate command#Annotate command|annotate]]. 463 464:;<code>-D <var>date</var></code> 465:: Annotate the most recent revision no later than <var>date</var>. See [[cvs: Common command options#Common command options|Common options]]. 466 467:;<code>-F</code> 468:: Force annotation of binary files. (Without this option, binary files are skipped with a message.) 469 470:;<code>-f</code> 471:: Use head revision if tag/date not found. See [[cvs: Common command options#Common command options|Common options]]. 472 473:;<code>-l</code> 474:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 475 476:;<code>-R</code> 477:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 478 479:;<code>-r <var>tag</var></code> 480:: Annotate revision <var>tag</var>. See [[cvs: Common command options#Common command options|Common options]]. 481 482;<code>rdiff <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <var>modules</var>…</code> 483: Show differences between releases. See [[cvs: rdiff--'patch' format diffs between releases#rdiff—’patch’ format diffs between releases|rdiff]]. 484 485:;<code>-c</code> 486:: Context diff output format (default). See [[cvs: rdiff options#rdiff options|rdiff options]]. 487 488:;<code>-D <var>date</var></code> 489:: Select revisions based on <var>date</var>. See [[cvs: Common command options#Common command options|Common options]]. 490 491:;<code>-f</code> 492:: Use head revision if tag/date not found. See [[cvs: Common command options#Common command options|Common options]]. 493 494:;<code>-l</code> 495:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 496 497:;<code>-R</code> 498:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 499 500:;<code>-r <var>rev</var></code> 501:: Select revisions based on <var>rev</var>. See [[cvs: Common command options#Common command options|Common options]]. 502 503:;<code>-s</code> 504:: Short patch - one liner per file. See [[cvs: rdiff options#rdiff options|rdiff options]]. 505 506:;<code>-t</code> 507:: Top two diffs - last change made to the file. See [[cvs: diff options#diff options|diff options]]. 508 509:;<code>-u</code> 510:: Unidiff output format. See [[cvs: rdiff options#rdiff options|rdiff options]]. 511 512:;<code>-V <var>vers</var></code> 513:: Use RCS Version <var>vers</var> for keyword expansion (obsolete). See [[cvs: rdiff options#rdiff options|rdiff options]]. 514 515;<code>release <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <var>directory</var></code> 516: Indicate that a directory is no longer in use. See [[cvs: release--Indicate that a Module is no longer in use#release—Indicate that a Module is no longer in use|release]]. 517 518:;<code>-d</code> 519:: Delete the given directory. See [[cvs: release options#release options|release options]]. 520 521;<code>remove <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 522: Remove an entry from the repository. See [[cvs: Removing files#Removing files|Removing files]]. 523 524:;<code>-f</code> 525:: Delete the file before removing it. See [[cvs: Removing files#Removing files|Removing files]]. 526 527:;<code>-l</code> 528:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 529 530:;<code>-R</code> 531:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 532 533;<code>rlog <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 534: Print out history information for modules. See [[cvs: log--Print out log information for files#log—Print out log information for files|log]]. 535 536:;<code>-b</code> 537:: Only list revisions on the default branch. See [[cvs: log options#log options|log options]]. 538 539:;<code>-d <var>dates</var></code> 540:: Specify dates (<var>d1</var><<var>d2</var> for range, <var>d</var> for latest before). See [[cvs: log options#log options|log options]]. 541 542:;<code>-h</code> 543:: Only print header. See [[cvs: log options#log options|log options]]. 544 545:;<code>-l</code> 546:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 547 548:;<code>-N</code> 549:: Do not list tags. See [[cvs: log options#log options|log options]]. 550 551:;<code>-R</code> 552:: Only print name of RCS file. See [[cvs: log options#log options|log options]]. 553 554:;<code>-r<var>revs</var></code> 555:: Only list revisions <var>revs</var>. See [[cvs: log options#log options|log options]]. 556 557:;<code>-s <var>states</var></code> 558:: Only list revisions with specified states. See [[cvs: log options#log options|log options]]. 559 560:;<code>-t</code> 561:: Only print header and descriptive text. See [[cvs: log options#log options|log options]]. 562 563:;<code>-w<var>logins</var></code> 564:: Only list revisions checked in by specified logins. See [[cvs: log options#log options|log options]]. 565 566;<code>rtag <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <var>tag</var> <var>modules</var>…</code> 567: Add a symbolic tag to a module. See [[cvs: Revisions#Revisions|Revisions]] and [[cvs: Branching and merging#Branching and merging|Branching and merging]]. 568 569:;<code>-a</code> 570:: Clear tag from removed files that would not otherwise be tagged. See [[cvs: Tagging and adding and removing files#Tagging and adding and removing files|Tagging add/remove]]. 571 572:;<code>-b</code> 573:: Create a branch named <var>tag</var>. See [[cvs: Branching and merging#Branching and merging|Branching and merging]]. 574 575:;<code>-B</code> 576:: Used in conjunction with -F or -d, enables movement and deletion of branch tags. Use with extreme caution. 577 578:;<code>-D <var>date</var></code> 579:: Tag revisions as of <var>date</var>. See [[cvs: Specifying what to tag by date or revision#Specifying what to tag by date or revision|Tagging by date/tag]]. 580 581:;<code>-d</code> 582:: Delete <var>tag</var>. See [[cvs: Deleting, moving, and renaming tags#Deleting, moving, and renaming tags|Modifying tags]]. 583 584:;<code>-F</code> 585:: Move <var>tag</var> if it already exists. See [[cvs: Deleting, moving, and renaming tags#Deleting, moving, and renaming tags|Modifying tags]]. 586 587:;<code>-f</code> 588:: Force a head revision match if tag/date not found. See [[cvs: Specifying what to tag by date or revision#Specifying what to tag by date or revision|Tagging by date/tag]]. 589 590:;<code>-l</code> 591:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 592 593:;<code>-n</code> 594:: No execution of tag program. See [[cvs: Common command options#Common command options|Common options]]. 595 596:;<code>-R</code> 597:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 598 599:;<code>-r <var>rev</var></code> 600:: Tag existing tag <var>rev</var>. See [[cvs: Specifying what to tag by date or revision#Specifying what to tag by date or revision|Tagging by date/tag]]. 601 602;<code>server</code> 603: Rsh server. See [[cvs: Connecting with rsh#Connecting with rsh|Connecting via rsh]]. 604 605;<code>status <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <var>files</var>…</code> 606: Display status information in a working directory. See [[cvs: File status#File status|File status]]. 607 608:;<code>-l</code> 609:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 610 611:;<code>-R</code> 612:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 613 614:;<code>-v</code> 615:: Include tag information for file. See [[cvs: Tags-Symbolic revisions#Tags–Symbolic revisions|Tags]]. 616 617;<code>tag <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <var>tag</var> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 618: Add a symbolic tag to checked out version of files. See [[cvs: Revisions#Revisions|Revisions]] and [[cvs: Branching and merging#Branching and merging|Branching and merging]]. 619 620:;<code>-b</code> 621:: Create a branch named <var>tag</var>. See [[cvs: Branching and merging#Branching and merging|Branching and merging]]. 622 623:;<code>-c</code> 624:: Check that working files are unmodified. See [[cvs: Specifying what to tag from the working directory#Specifying what to tag from the working directory|Tagging the working directory]]. 625 626:;<code>-D <var>date</var></code> 627:: Tag revisions as of <var>date</var>. See [[cvs: Specifying what to tag by date or revision#Specifying what to tag by date or revision|Tagging by date/tag]]. 628 629:;<code>-d</code> 630:: Delete <var>tag</var>. See [[cvs: Deleting, moving, and renaming tags#Deleting, moving, and renaming tags|Modifying tags]]. 631 632:;<code>-F</code> 633:: Move <var>tag</var> if it already exists. See [[cvs: Deleting, moving, and renaming tags#Deleting, moving, and renaming tags|Modifying tags]]. 634 635:;<code>-f</code> 636:: Force a head revision match if tag/date not found. See [[cvs: Specifying what to tag by date or revision#Specifying what to tag by date or revision|Tagging by date/tag]]. 637 638:;<code>-l</code> 639:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 640 641:;<code>-R</code> 642:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 643 644:;<code>-r <var>rev</var></code> 645:: Tag existing tag <var>rev</var>. See [[cvs: Specifying what to tag by date or revision#Specifying what to tag by date or revision|Tagging by date/tag]]. 646 647;<code>unedit <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 648: Undo an edit command. See [[cvs: How to edit a file which is being watched#How to edit a file which is being watched|Editing files]]. 649 650:;<code>-l</code> 651:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 652 653:;<code>-R</code> 654:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 655 656;<code>update <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 657: Bring work tree in sync with repository. See [[cvs: update--Bring work tree in sync with repository#update—Bring work tree in sync with repository|update]]. 658 659:;<code>-A</code> 660:: Reset any sticky tags/date/options. See [[cvs: Sticky tags#Sticky tags|Sticky tags]] and [[cvs: Keyword substitution#Keyword substitution|Keyword substitution]]. 661 662:;<code>-C</code> 663:: Overwrite locally modified files with clean copies from the repository (the modified file is saved in ‘<tt>.#<var>file</var>.<var>revision</var></tt>’, however). 664 665:;<code>-D <var>date</var></code> 666:: Check out revisions as of <var>date</var> (is sticky). See [[cvs: Common command options#Common command options|Common options]]. 667 668:;<code>-d</code> 669:: Create directories. See [[cvs: update options#update options|update options]]. 670 671:;<code>-f</code> 672:: Use head revision if tag/date not found. See [[cvs: Common command options#Common command options|Common options]]. 673 674:;<code>-I <var>ign</var></code> 675:: More files to ignore (! to reset). See [[cvs: import options#import options|import options]]. 676 677:;<code>-j <var>rev</var></code> 678:: Merge in changes. See [[cvs: update options#update options|update options]]. 679 680:;<code>-k <var>kflag</var></code> 681:: Use <var>kflag</var> keyword expansion. See [[cvs: Substitution modes#Substitution modes|Substitution modes]]. 682 683:;<code>-l</code> 684:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 685 686:;<code>-P</code> 687:: Prune empty directories. See [[cvs: Moving and renaming directories#Moving and renaming directories|Moving directories]]. 688 689:;<code>-p</code> 690:: Check out files to standard output (avoids stickiness). See [[cvs: update options#update options|update options]]. 691 692:;<code>-R</code> 693:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 694 695:;<code>-r <var>tag</var></code> 696:: Checkout revision <var>tag</var> (is sticky). See [[cvs: Common command options#Common command options|Common options]]. 697 698:;<code>-W <var>spec</var></code> 699:: More wrappers. See [[cvs: import options#import options|import options]]. 700 701;<code>version</code> 702<div id="index-version-_0028subcommand_0029"></div> 703 704: Display the version of <small>CVS</small> being used. If the repository is remote, display both the client and server versions. 705 706;<code>watch <nowiki>[</nowiki>on|off|add|remove<nowiki>]</nowiki> <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 707 708: on/off: turn on/off read-only checkouts of files. See [[cvs: Telling CVS to watch certain files#Telling CVS to watch certain files|Setting a watch]]. 709 710: add/remove: add or remove notification on actions. See [[cvs: Telling CVS to notify you#Telling CVS to notify you|Getting Notified]]. 711 712:;<code>-a <var>actions</var></code> 713:: Specify actions for temporary watch, where <var>actions</var> is <code>edit</code>, <code>unedit</code>, <code>commit</code>, <code>all</code>, or <code>none</code>. See [[cvs: How to edit a file which is being watched#How to edit a file which is being watched|Editing files]]. 714 715:;<code>-l</code> 716:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 717 718:;<code>-R</code> 719:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 720 721;<code>watchers <nowiki>[</nowiki><var>options</var><nowiki>]</nowiki> <nowiki>[</nowiki><var>files</var>…<nowiki>]</nowiki></code> 722: See who is watching a file. See [[cvs: Information about who is watching and editing#Information about who is watching and editing|Watch information]]. 723 724:;<code>-l</code> 725:: Local; run only in current working directory. See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 726 727:;<code>-R</code> 728:: Operate recursively (default). See [[cvs: Recursive behavior#Recursive behavior|Recursive behavior]]. 729 730 731 732---- 733 734<div class="header"> 735<p> 736Next: [[cvs: Reference manual for Administrative files#Reference manual for Administrative files|Administrative files]], Previous: [[cvs: Guide to CVS commands#Guide to CVS commands|CVS commands]], Up: [[cvs#Top|Top]] |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p> 737</div> 738This document was generated on <i>a sunny day</i> using [http://www.nongnu.org/texi2html/ <i>texi2html</i>]. 739