BRANCH EDITCOMMENT
Edit branch comments with the Unity Version Control CLI.
Read time 1 minuteLast updated 7 days ago
Description
Modifies the comment of a branch.
Usage
cm branch | br editcomment | edit <brspec> (<new_comment> | -commentsfile=<comments_file>)
Options
Option / Argument | Description |
|---|---|
| brspec | The branch whose comment will be edited. (Use |
| new_comment | The new comment for the branch. |
| Reads the new comment from the specified file. |
Help
Remarks
- To clear the comment, pass an empty comment ().
"" - is an alias of
edit. To create a branch named "edit", useeditcomment.cm branch create edit
Examples
The following example replaces the comment of branch :
/main/task001cm branch editcomment /main/task001 "Fix the login timeout"