PROFILE DELETE
Delete profiles with the Unity Version Control CLI.
阅读时间1 分钟最后更新于 10 个月前
Description
Deletes a server connection profile from the client's configuration.
Usage
cm profile delete | rm <index | name>
cm profile delete | rm --index=<index>
cm profile delete | rm --name=<name>
Options
Option / Argument | Description |
|---|---|
| --index | Used to disambiguate in case a profile has a name that is a number |
| --name | Used to disambiguate in case a profile has a name that is a number |
| index | Profile index in the profiles list. |
| name | Profile name. |
Help
Remarks
Deletes a server connection profile from the client's configuration. It works both with the profile index and the profile name. The 'cm profile list' command does not show profile names by default, check 'cm profile list --help' to check how to output profile's name.
Example
cm profile delete 1
(Removes the profile at index 1.)
cm profile delete 192.168.0.2:8087_UPWorkingMode
(Removes the profile with name '192.168.0.2:8087_UPWorkingMode'.)
cm profile delete --name=12
(Removes the profile with name '12'.)