Setting auto-detect and ignore file options

You can configure Surround SCM to auto-detect or ignore files based on the filename or extension. Setting file types will automatically assign a file type to files with specified extensions when they are added to Surround SCM. Ignoring files by extension, name, or directory name will exclude files when users recursively add files.

These options apply to all branches and users, but can be overridden for specific mainline branches. See Overriding server options for specific mainline branches.

Users can also configure their own rules to ignore files and directories. See Ignoring files and directories.

1. Choose Tools > Administration > Server Options.

The Server Options dialog box opens.

2. Select File Names/Extensions from the Mainline Options category.

3. Select a file type and click Edit.

The Map File Extensions to File Type dialog box opens.

4. Enter the file extension.

5. Click OK.

The file extension is added.

To remove a file extension, select the file type and click Edit. Delete the extension in the Map File Extensions to File Type dialog box.

6. Enter file extensions to ignore in the Ignore file extension field.

7. Enter the file or directory names to ignore in the Ignore file or directory name field.

You can use an asterisk (*) as a wildcard for file and directory names. For example, *uninstall ignores all files or directories that end in "uninstall". Ignore file or directory name settings are case sensitive.

8. Click OK to save the changes.