GETTASKBRANCHES
Get task branches with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Gets branches linked with a task.Usage
cm gettaskbranches | gtb <task_name> [--format=<str_format>] [--dateformat=<date_format>]
Options
Option / Argument | Description |
|---|---|
| Retrieves the output message in a specific format. See Remarks for more info. |
| Format used to output dates. |
| task_name | The task identifier. |
Help
Remarks
Output format parameters (--format option)
This command accepts a format string to show the output.The output parameters of this command are the following
Option / Argument | Description |
|---|---|
| Inserts a tab space. |
| Inserts a new line. |
| Branch name. |
| Owner of the branch. |
| Date when the branch was created. |
| Parent branch. |
| Comment of the branch. |
| Repository where the branch exists. |
| Server name. |
Examples
cm gettaskbranches 4311
cm gtb 4311 --format="br:{name}"
cm gtb 4311 --format="br:{name} {date}" --dateformat="yyyy/MM/dd HH:mm:ss"