文档

​
​

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
      • Client configuration files
      • Use filter pattern files
      • Use value matching pattern files
      • Globally configure the branch explorer
      • Configure EOL conversion
      • Configure external tools
      • Configure syntax language
      • Configure the Open with menu
    • Version Control workflow
    • Version Control tools
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Globally configure the branch explorer

Globally configure branch explorer settings.
阅读时间2 分钟
最后更新于 10 个月前

Configure the branch explorer and use global configuration so that all clients have the same settings by default.
  1. In the Unity DevOps Version Control application, set your Branch Explorer configuration preferences:
    1. Select the Branch Explorer tab.
    2. Select Options to open the configuration panel and edit to your preference.
  2. Copy the generated configuration file in the following location:
    • Windows:
      C:\Users\user\AppData\Local\plastic4\branchexplorer.cfg
    • Linux and macOS:
      $HOME/.plastic4/branchexplorer.conf
  3. Paste the file into the global configuration repository under the
    allrepos
    folder.

Global
branchexplorer.conf
file example

Refer to the following example of a global
branchexplorer.conf
file:
[Default]filters.conditional.numrules=1filters.conditional.rule0.branches_query=attribute = 'status' and attrvalue = 'RESOLVED'filters.conditional.rule0.description=Unresolved branchesfilters.conditional.rule0.enabled=truefilters.conditional.rule0.related.branches=Nonefilters.conditional.rule0.type=exclusion_rule
注意
The first rule is
rule0
.
A local
branchexplorer.conf
contains user-specific information too:
[Default]display.attributes.visible=truedisplay.changestats.visible=truedisplay.extension.visible=truedisplay.navigator.visible=falsedisplay.options.branch_level_filter=-1display.options.changeset_color=1display.options.dag_mergelinks=falsedisplay.options.draw_branches=truedisplay.options.draw_crossbranch_changeset_links=truedisplay.options.draw_labels=truedisplay.options.draw_merge_links=truedisplay.options.draw_only_relevant_changesets=falsedisplay.options.draw_taskinfo=truedisplay.options.end_date=0display.options.end_date_enablement=falsedisplay.options.full_branch_names=truedisplay.options.layout_mode=0display.options.show_parent_to_child_arrows=falsedisplay.options.start_date=636136983268496003display.options.visible=falsedisplay.properties.legend=falsedisplay.properties.visible=truedisplay.properties.zoom=0,9999999filters.conditional.numrules=1filters.conditional.rule0.branches_query=filters.conditional.rule0.color=0,128,192filters.conditional.rule0.description=Unresolved branchesfilters.conditional.rule0.enabled=truefilters.conditional.rule0.related.branches=Nonefilters.conditional.rule0.type=non_integrated_branchesfilters.conditional.visible=true
The GUI combines the global and local filters. The following example shows the resulting configuration for filters:
filters.conditional.numrules=2filters.conditional.rule0.branches_query=attribute = 'status' and attrvalue = 'RESOLVED'filters.conditional.rule0.description=Unresolved branchesfilters.conditional.rule0.enabled=truefilters.conditional.rule0.related.branches=Nonefilters.conditional.rule0.type=exclusion_rulefilters.conditional.rule1.branches_query=filters.conditional.rule1.color=0,128,192filters.conditional.rule1.description=Unresolved branchesfilters.conditional.rule1.enabled=truefilters.conditional.rule1.related.branches=Nonefilters.conditional.rule1.type=non_integrated_branches
As a result of the combined rules in the example above:
  • The combined filters don't show branches if the
    status
    attribute is set to
    RESOLVED
    (because the rule type is an
    exclusion_rule
    in the global configuration).
  • The combined filters show the branches that aren't merged (because of the rule
    non_integrated_branches
    , colored blue (RGB 0,128,192), in local configuration).

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

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

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

  • 在本页上
    • Global branchexplorer.conf file example


报告此页面的问题