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
-loption.-
-F logfile Read a log message from the specified
logfilerather than calling an editor.-
-l Run
commiton the files in the local directory only. (Do not recurse down subdirectories.)See also
-R.-
-m message Use the
messagewhen committing a file. CVS does not call the editor.-
-n Do not run any program listed in the
modulesfile (in the repository’sCVSROOTdirectory) for this directory.-
-r revision Commit any changes to the specified
revisionnumber. The revision number must be higher than any current revision number for the file or files.If
revisionis a branch tag or a revision number on a branch, commit to the head of the branch.-
-R Run
commiton 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access