mkmainline

A mainline branch is the highest-level branch that contains all source files, other branches, and repositories. All files saved to a specific Surround SCM Server are stored in a corresponding branch. You must create at least one mainline before files can be added to Surround SCM.

You cannot search, branch, promote, or rebase across mainline branches.

sscm mkmainline MainlineName [-ccComment|-cpCommentPath|-c-] [-s] [-h] [-lConnectionID] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]

Option Description
MainlineName New mainline branch name.
-c Enter a comment or the comment text file path. Enter -cc to prompt for comment, -cp to prompt for the comment file path, or -c- if a comment is not needed. CommentPath can be full path of a local text file, partial path if file is in a subdirectory of current directory, or file name if file is in current directory.
-h Display online help for the command.
-l RDBMS connection ID for the location to create mainline branch and its corresponding files in. Default is 0, which is the server database location.
-s Enable case-sensitive file and repository names. Only applies to mainline branches. Only enable this option if all users access the branch using a case-sensitive client.
-y Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI.
-z Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information.
+u Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command.