Documentation

Support

Unity Version Control

BRANCH DELETE

Delete branches with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago

Description

Deletes one or more branches.

Usage

cm branch | br delete | rm <brspec>[ ...]

Option / Argument

Description

brspecBranch to delete. Use a whitespace to separate branches. (Use 'cm help objectspec' to learn more about branch specs.)

Help

Remarks

This command deletes one or more branches.

Examples

cm branch delete /main/task001
(Deletes the branch with name 'task001' that is a child of 'main' in the repository of the current workspace.)
cm br rm main/task002 /main/task012@reptest@myserver:8084
(Deletes branches '/main/task002' in the repository of the current workspace and '/main/task012' in the repository 'reptest@myserver:8084'.)