Perforce 99.2 Command Reference (99.2.cr.3) | ||
<< Previous Chapter About This Manual |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 admin |
The added files must be contained in the user's current client view. These files need not exist within the client workspace at the time of p4 add. They must, however, be in the client workspace by the time p4 submit is run, or submission will fail. p4 add does not create the files; they must be created by the user.
The new files must either not already exist in the depot, or can exist in the depot but be deleted at the head revision. Files may be deleted and re-added arbitrarily.
By default, the specified files are linked to the default changelist. Use -c to specify a different changelist.
When the -t flag is not provided, Perforce examines each file to determine whether it is text or binary, and the files are stored in the depot accordingly. Text file revisions are stored in reverse delta format; binary file revisions are stored as full files.
-c changelist |
Opens the files for add within the specified changelist. If this flag is not provided, the files are linked to the default changelist. |
-t type |
Adds the file as the specified type. Please see the File Types chapter for a list of Perforce file types. |
See the Global Options section. |
Perforce 99.2 Command Reference (99.2.cr.3) | ||
<< Previous Chapter About This Manual |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 admin |