version 1.41, 2005/02/03 23:00:41 |
version 1.42, 2005/02/04 18:06:34 |
|
|
The following commands are supported by |
The following commands are supported by |
.Nm . |
.Nm . |
.Bl -tag -width "xxxxxxxxxxxx" |
.Bl -tag -width "xxxxxxxxxxxx" |
.It Xo Ic add Op Fl m Ar msg |
.It Xo Ic add |
.Ar file Op ... |
.Op Fl k Ar mode |
|
.Op Fl m Ar msg |
|
.Ar file ... |
.Xc |
.Xc |
.Pp |
.Pp |
Before a file is known to CVS, it must be added to the repository using |
Before a file is known to |
this command. |
.Nm , |
|
it must be added to the repository using this command. |
Adding a file does not actually publish the contents of the |
Adding a file does not actually publish the contents of the |
file, so you must |
file: the |
.Ic commit |
.Ic commit |
the first revision in order to let other users see the file with the |
command must also be used to publish it into the repository, |
.Ic update |
and thus let others access the file. |
or |
|
.Ic checkout |
|
commands. |
|
.Pp |
.Pp |
|
Note: since directories have no versioning system, it is sufficient |
|
to add them with the |
|
.Ic add |
|
command alone; the |
|
.Ic commit |
|
command is not necessary. |
|
.Pp |
The |
The |
.Ic add |
.Ic add |
command takes the following options: |
command takes the following options: |
.Bl -tag -width Ds -offset 3n |
.Bl -tag -width Ds -offset 3n |
|
.It Fl k Ar mode |
|
Specify the keyword substitution mode. |
.It Fl m Ar msg |
.It Fl m Ar msg |
Attach log message |
Attach log message |
.Ar msg . |
.Ar msg . |