create snapshot

Creates a snapshot that is associated with the workspace or stream. If necessary, the snapshot creates baselines for itself.


create ss

Usage: scm create snapshot [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] [--directory <arg>] [-d/--description <arg>] [-C/--components <arg ...>] [-a/--failOnActiveCS] [-p/--allowPartialHierarchy] [-f/--forceBaselineCreation] [-o/--overwrite-uncommitted] [-n/--name <arg>] [--] <workspace>

workspace The workspace or stream that is associated with the snapshot. To specify the workspace or stream, use its name[@repo], alias or uuid[@repo].


-r, --repository-uri <arg> The URI that specifies the location of the repository.
-u, --username <arg> The user name for the repository.
-P, --password <arg> The password for the repository.
    --password-file <arg> File that contains the user's password.
    --certificate <arg> The file that contains the user's login certificate.
    --smartCard Use the connected smart card for authentication.
    --kerberos Authenticate with Windows user credentials using Kerberos/SPNeGO.
    --integratedWindows Authenticate with Windows user credentials using Integrated Windows Authentication.
-j, --json Enable JSON output.
    --directory <arg> Runs the command in the named directory.
-d, --description <arg> A description of the snapshot.
-C, --components <arg ...> Specify the name, alias, or UUID of the components to exclude, separated by a space.
-a, --failOnActiveCS Use this option to prevent snapshots from being created when components contain active change sets.
-p, --allowPartialHierarchy Use this option to allow snapshots to be created when they do not contain the whole component hierarchy.
-f, --forceBaselineCreation Use this option to force baseline creation.
-o, --overwrite-uncommitted Use this option to ignore uncommitted changes.
-n, --name <arg> The name of the snapshot. If this option is omitted, the name of the repository workspace or stream is used.
    -- Separate the command line options from the workspace argument.