Name

add

Synopsis

cvs [cvs-options] add [-k mode] [-m message]files

Add 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. You must commit any added files in order for the addition to fully take effect.

Synonyms: ad, new.

Standard subcommand options: -k, -m.

Example

    $ cvs add Design.rtf
    cvs server: scheduling file 'Design.rtf' for addition
    cvs server: use 'cvs commit' to add this file permanently

Get Unix in a Nutshell, 4th Edition 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.