Creates a new baseline for components.
Aliases:
create bl, create b
Usage: scm create baseline | [common options] [--description <arg>] [-o/--overwrite-uncommitted] [-N/--no-local-refresh] [--complete] <workspace> <baseline-name> (--all | [components...]) |
workspace | The workspace in which the baseline is applied. To specify the workspace, use its name[@repo], alias, or UUID[@repo]. |
baseline-name | The name of the new baseline. |
components | The name, alias, or UUID of the components to select. |
Options:
-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. |
--description <arg> | A description of the baseline. |
-d, --directory <arg> | Runs the command in the named directory. |
-o, --overwrite-uncommitted | Use this option to ignore uncommitted changes. |
-N, --no-local-refresh | Does not scan the file system for new changes. This option overrides the value of the 'refresh.local.changes' preference. To see the current value of this preference, run 'lscm get preference refresh.local.changes'. |
--complete | Use this option to complete all active change sets. |
--all | Selects all of the components. |
Example