BRANCH RENAME
Rename branches with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Renames a branch.Usage
cm branch | br rename <brspec> <new_name>
Option / Argument | Description |
|---|---|
| brspec | Branch to rename. (Use 'cm help objectspec' to learn more about branch specs.) |
| new_name | New name for the branch. |
Help
Remarks
This command renames a branch.Examples
(Renames branch '/main/task0' to '/main/task1'.)cm branch rename /main/task0 task1
(Renames the 'main' branch of repository 'reptest' to 'secondary'.)cm br rename br:/main@reptest@server2:8084 secondary