remove component

Removes components from a workspace. Components that are not found in the workspace are ignored. If a component was loaded into the local file system, the component will be unloaded.

Aliases:

remove comp

Usage: scm remove component [-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] [-N/--no-local-refresh] [-i/--ignore-uncommitted] [-n/--nobackup] <workspace> <components...>

workspace The workspace or stream to remove the components from. To specify the workspace or stream, use its name[@repo], alias, or UUID[@repo].
components The components to remove from the workspace or stream. To specify a component, use its name, alias, or UUID.

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.
-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'.
-i, --ignore-uncommitted Continues with the operation even if uncommitted local changes exist. If you use this option, changes might be ignored.
-n, --nobackup Continues with the operation even if a backup baseline will not be created.


Example