p4 add (graph)
Open a new file to add it to the repo.
Syntax
p4 [g-opts] add [-c changelist -n -t filetype] file ...
Description
Open a file for adding to the depot.
- To associate the open files with a specific pending changelist, use the -cflag. If you omit the-cflag, the open files are associated with the default changelist
- To specify file type, use the -tflag
- To display  a preview of the specified add operation without changing any files or metadata, use the -nflag
Options
| 
 | Opens the files for  | 
| 
 | Preview which files would be opened for add, without actually changing any files or metadata. | 
| 
 | By default, p4 add assumes the file is a simple text file. The following alternate filetypes are available: 
 | 
| 
 | See Global options. |