GETTASKBRANCHES

Description

Gets branches linked with a task.

Usage

cm gettaskbranches | gtb <task_name> [--format=<str_format>] [--dateformat=<date_format>]

Options

Option / ArgumentDescription
--formatRetrieves the output message in a specific format. See Remarks for more info.
--dateformatFormat used to output dates.
task_nameThe 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 / ArgumentDescription
{tab}Inserts a tab space.
{newline}Inserts a new line.
{name}Branch name.
{owner}Owner of the branch.
{date}Date when the branch was created.
{parent}Parent branch.
{comment}Comment of the branch.
{repname}Repository where the branch exists.
{repserver}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"