June 2003
Intermediate to advanced
336 pages
9h 49m
English
add — Synonyms: ad, new
cvs [cvs-options] add [-kmode] [-mmessage]files
Adds a file or directory to the repository. This command can also be used to undo an uncommitted file deletion or to restore a deleted file. Remember, you must commit any added files in order for the addition to fully take effect.
-k mode
Add a file or files with the designated keyword-expansion mode. This
option also sets the default keyword mode for the file. If you forget
to set the default keyword mode with cvs add,
you can do so later with cvs admin.
The keyword-expansion modes are listed in Section 11.6 of Chapter 11.
-m message
Use the specified message as the description of
the newly added file. The description is shown in cvs
log output.
bash-2.05a$ cvs add Design.rtf
cvs server: scheduling file `Design.rtf' for addition
cvs server: use 'cvs commit' to add this file permanentlyRead now
Unlock full access