You can add individual files or an entire directory to Surround SCM. When you add a directory, a repository with the same name is created on the Surround SCM Server and files are added to this repository. Surround SCM optionally repeats the process recursively for all subdirectories.
1. Select the repository to add files to and choose Activities > Add Files.
The Add Files dialog box opens. The files and folders in the selected repository’s working directory that have not yet been added to the repository are displayed. If a working directory is not set for the repository, the contents of your default directory are displayed.
2. Select a drive or directory from the Look in list and then browse to the directory to add files from.
Tip: You can prevent adding files with specific names and extensions. See Setting auto-detect and ignore file options.
3. Click to change how files are displayed.
Note: There are two additional Linux options: Hidden Files to displays all files that start with a period and Symbolic Links displays all files with symbolic links.
4. Select a Files of type option to display files with specific file extensions, such as C# files.
File types are organized in groups. You can add file extensions to existing groups and create new groups to quickly access file types you work with most often. See Grouping file extensions to find related file types.
5. Select the files or folders to add.
6. Click the Comments tab to enter comments about the files you are adding.
7. Click the Custom Fields tab to set custom field values. See Setting custom fields.
You may not have access to this tab depending on your security permissions.
8. Select Recursive if you are adding a directory and want to automatically add all subdirectories and files.
9. Expand and select any additional options for adding files.
Select changelist options to add the files as part of a changelist.
Select code review options to add the files to a code review.
Select Add new version to code review and select a code review. Select <New code review> to create a new code review. See Creating code reviews. Click Select to view code review details and determine which review to add the files to.
Note: If you are adding files as part of a changelist, the files are added to the code review after the changelist is committed.
Select local file options to indicate how to handle local files after the add.
Select advanced options to set workflow states, label files, overwrite removed server files, and detect file type when adding files.
Note: If you are adding files as part of a changelist, the files are labeled after the changelist is committed.
10. Click Attach to attach the file to an item in Helix ALM or an external issue tracking tool. See Attaching source files to Helix ALM items or Attaching source files to external issues.
11. Click OK to add the files to Surround SCM.
Note: If you set a workflow state on the files, you may be prompted to enter an electronic signature and reason. See Entering electronic signatures.