GNU Info

Info Node: (cvsbook.info)add

(cvsbook.info)add


Next: admin Prev: Global Options Up: Commands And Options
Enter node , (file) or (file)node

add
---

Synopsis: add [OPTIONS] FILES

   * Alternate names - ad, new

   * Requires - Working copy, repository

   * Changes - Working copy

Adds a new file or files to an existing project.  Although the
repository is contacted for confirmation, the file does not actually
appear in it until a subsequent commit is performed.  (See also Note:
remove and Note: import.)

Options:

   * -kKEYWORD_SUBSTITUTION_MODE - Specifies that the file is to be
     stored with the given RCS keyword substitution mode.  There is no
     space between the -k and its argument.  (See the section Note:
     Keyword Substitution (RCS Keywords) later in this chapter for a
     list of valid modes and examples.)

   * -m MESSAGE - Records MESSAGE as the creation message, or
     description, for the file.  This is different from a per-revision
     log message - each file has only one description.  Descriptions
     are optional.

     As of version 1.10.7, there is a bug in CVS whereby the
     description is lost if you add a file via client/server CVS.  The
     rest of the add process seems to work fine, however, if that's any
     comfort.



automatically generated by info2www version 1.2.2.9