Adding files to the depot
To add a file to the depot, you must perform two actions: (1) open the file for add, which places the file in a changelist, and (2) submit the changelist, which copies the file to the depot.
To add a file to the depot:
- In the Tree pane, click the Workspace tab.
-
Browse to the file you want to add.
If the file does not reside in the depot, its icon is unmarked ( ).
-
Right-click the file and choose Mark for Add.
The file icon displays a red plus sign () indicating that it is open for add.
-
To submit the changelist containing the open file, right-click the file and choose Submit​.
The Pending Changelist form is displayed, listing the files in the changelist.
-
Enter a description of the change and click Submit.
The new file is added to the depot.
If you do not see the local file in the Workspace tab, choose Search > Filter Workspace > Show Files Not In Depot.