Adding files -- CVS---Concurrent Versions System
Next: Removing files
Prev: Recursive behavior
Top: Top
10. Adding files to a module
To add a new file to a module, follow these steps.
- You must have a working copy of the module.
See Getting the source.
- Create the new file inside your working copy of the module.
- Use `cvs add filename' to tell cvs that you
want to version control the file.
- Use `cvs commit filename' to actually check
in the file into the repository. Other developers
cannot see the file until you perform this step.
- If the file contains binary data it might be necessary
to change the default keyword substitution.
See Keyword substitution. See admin examples.
You can also use the add command to add a new
directory inside a module.
Unlike most other commands, the add command is
not recursive. You cannot even type `cvs add
foo/bar'! Instead, you have to
$ cd foo
$ cvs add bar
See add, for a more complete description of the add
command.
Next: Removing files
Prev: Recursive behavior
Top: Top