Create an attribute
Create attributes in your repository.
阅读时间1 分钟最后更新于 10 个月前
Every object in UVCS (branches, changesets, and shelves) can have attributes. Attributes are metadata that can serve any purpose.
For example, you can use attributes to indicate when a branch is ready to be integrated, or that a branch is no longer necessary. You could call this attribute , and it will have two values: for when the branch is still in use, and for when you want to remove the branch.
ARCHIVEDfalsetrueYou can create a new attribute from the Attributes tab of your repository in the UVCS Cloud dashboard. You can also view, rename, and delete existing attributes.
To create a new attribute:
- From the attributes page, select New attribute.
- Add a name.
- Include a line like the following in the attribute comment:
default: value_one, value two, value3, valueN - Select Save to save your attribute.