LABEL EDITCOMMENT
Edit label comments with the Unity Version Control CLI.
読み終わるまでの所要時間 1 分最終更新 1日前
Description
Modifies the comment of a label.
Usage
cm label | lb editcomment | edit <lbspec> (<new_comment> | -commentsfile=<comments_file>)
Options
Option / Argument | Description |
|---|---|
| lbspec | The label whose comment will be edited. (Use |
| new_comment | The new comment for the label. |
| Reads the new comment from the specified file. |
Help
Remarks
- To clear the comment, pass an empty comment ().
"" - Editing the comment of a label leaves the label on the changeset it's applied to.
- is an alias of
edit. To create a label named "edit", useeditcomment.cm label create edit
Examples
The following example replaces the comment of label with the content of :
BL001comment.txtcm label editcomment lb:BL001 -commentsfile=comment.txt