Name
commit — Synonyms: ci
, com
Synopsis
cvs [cvs-options
] commit [-flnR] [-mmessage
| -Flogfile
] [-rrevision
] [files
...]
Commits changes in a sandbox to the repository.
Command options
-
-f
Force CVS to commit a file even if there have been no changes to the file. This option implies the
-l
option.-
-F logfile
Read a log message from the specified
logfile
rather than calling an editor.-
-l
Run
commit
on the files in the local directory only. (Do not recurse down subdirectories.)See also
-R
.-
-m message
Use the
message
when committing a file. CVS does not call the editor.-
-n
Do not run any program listed in the
modules
file (in the repository’sCVSROOT
directory) for this directory.-
-r revision
Commit any changes to the specified
revision
number. The revision number must be higher than any current revision number for the file or files.If
revision
is a branch tag or a revision number on a branch, commit to the head of the branch.-
-R
Run
commit
on the files in the local directory and all subdirectories and recurse down the subdirectories. This option is the default.See also
-l
.
Description
The cvs commit
command uploads changes in a
sandbox to the repository. Until a commit
is
run, changes such as modified, new, or removed files are not
reflected in the repository. If no files are listed as arguments, CVS
uploads all changes in the current sandbox.
Unless you use either the -m
or
-F
options, commit
calls an
editor to request a log message.
If there have been changes in the repository version ...
Get Essential CVS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.