文档

Unity Version Control

Unity Version Control CLI

Find the commands you can use to run Unity Version Control operations from the command line.
阅读时间1 分钟最后更新于 19 天前

The Unity Version Control command-line interface (CLI),
cm
, lets you run version control operations in your terminal or in scripts.
This reference links to the documentation for each of the available commands, with usage guides and examples.
To install and configure the CLI, refer to Install the Unity Version Control CLI.

cm

After you install and configure the CLI, enter the following command in your terminal to use it:
cm <command>
Replace
<command>
with any of the available commands.
注意
To get help in the CLI, run
cm help
or
cm <command> --help
.

Example commands

The following commands list your repositories, show the CLI help, and list all available commands:
cm repository list
cm help
cm showcommands

Available commands

Additional resources