Name

remove — Synonyms: rm, delete

Synopsis

cvs [cvs-options] remove [-flR] [files...]

The remove command removes a file or directory from the repository. It can also be used to undo an uncommitted file addition.

Command options

-f

Delete the files from the sandbox before removing them from the repository.

-l

Remove files in the local directory only. (Do not recurse down subdirectories.)

See also -R.

-R

Remove files in the local directory and all subdirectories and recurse down the subdirectories. This option is the default.

See also -l.

Example

bash-2.05a$ cvs remove server.cc
cvs server: scheduling `server.cc' for removal
cvs server: use 'cvs commit' to remove this file permanently

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.