文档

​
​

Development

User Acquisition

Monetization

工业

Unity Version Control

DevOps

On-prem

Gluon

Editor plug-in

Open Unity Dashboard

Unity Version Control

此页面不支持所选语言。
​
​
Unity Version Control
  • Overview
  • Cloud Repositories organization update
  • Installation
  • Use UVCS with the Unity Editor
  • Unity Version Control plugins
  • Concepts
  • Tutorials
    • Migrate from Git
    • Migrate from Perforce
    • Version Control settings
    • Configure the client
    • Version Control workflow
    • Version Control tools
      • Enable dynamic workspaces (Windows)
      • Create a label
      • Create an attribute
      • Create a mergebot
      • Use Smart Locks
      • Use Xlinks
      • Use Unity Samples
      • Use triggers
      • Transfer project to a different organization
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Create a mergebot

Automate repository merges and tasks by creating a mergebot in Unity Version Control.
阅读时间1 分钟
最后更新于 10 个月前

Mergebots automate tasks and merges in your repository. To understand mergebots and what you can use them for, refer to Mergebots.
You can create a mergebot in your Unity Dashboard:
  1. Open the Version Control repository, and select the Settings button.
  2. Select the New mergebot button.
  3. Select either Trunk bot or Conflicts bot as your Mergebot type.
  4. Select the branch you want to use as your Destination branch.
  5. Enter an identifying name and description for the mergebot.
  6. Configure your mergebot.
    注意
    For more information on the mergebot configuration options, refer to the Mergebot configuration section of the Mergebots page.
  7. Select Save.

Apply the mergebot to a branch

Your mergebot processes branches that have the
resolved
status attribute. You can add the status attribute through either the desktop client or the Cloud dashboard.

Set attribute through the Cloud dashboard

  1. Select the arrow icon on a branch to expand the details.
  2. Scroll to Attributes.
  3. In the Name dropdown, select the status attribute you created with the mergebot.
  4. Enter the resolved status value you defined when you created the mergebot.
  5. Select Add.

Set attribute through the desktop client

  1. On the Branches tab, select the branch.
  2. Select Show properties > Apply attributes.
  3. Select status from the Attribute name dropdown, and select resolved from the value dropdown.
  4. Select Apply.

Set attribute through the CLI

You can also set an attribute through the CLI:
cm attribute set att:status br:/main/example-branch resolved
For more information, refer to the
attribute set
reference documentation
.

Additional resources

For a full tutorial on how to create a Trunk bot, refer to the Create a mergebot Unity Learn tutorial.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Apply the mergebot to a branch

      • Set attribute through the Cloud dashboard

      • Set attribute through the desktop client

      • Set attribute through the CLI

    • Additional resources


报告此页面的问题