Previous: , Up: add   [Contents][Index]


A.6.2 add examples

A.6.2.1 Adding a directory

$ mkdir doc
$ cvs add doc
Directory /path/to/repository/doc added to the repository

A.6.2.2 Adding a file

$ >TODO
$ cvs add TODO
cvs add: scheduling file `TODO' for addition
cvs add: use 'cvs commit' to add this file permanently

A.6.2.3 Undoing a remove command

$ rm -f makefile
$ cvs remove makefile
cvs remove: scheduling `makefile' for removal
cvs remove: use 'cvs commit' to remove this file permanently
$ cvs add makefile
U makefile
cvs add: makefile, version 1.2, resurrected