기술 자료

​
​

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
  • On-Prem
    • Server configuration
    • Client configuration
    • Manage On-Prem licenses
    • Stop, start, or restart server
    • Server administration console
    • Configure UVCS
      • Server configuration files
      • Configure lock rules
      • Merge rules
        • Set up merge rules
        • Types of merge rule
      • Configure file compression
      • Proxy servers
      • Use a proxy server
      • Support alternative connections to a server
      • Configure repository storage
    • Use server read-only mode
    • Back up and restore data
    • Archive revisions
    • Force client upgrades
    • SSL certificates
    • GitServer
    • Use SAML authentication with Microsoft Entra
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Set up merge rules

Set the rules for merging branches.
읽는 시간 1분
최근 업데이트: 10달 전

Edit the
mergerules.conf
file in your
server
directory to configure your merge rules.
참고
You can also set up merge rules in your webadmin server administration console.
The mergerules.conf file is a JSON file that contains your merge rules. To add a merge rule, you need to place the rule inside an array:
[{ "enabled": true, "repositories": "code*", "rule": "only_allow_merges_if_reviewed", "to": { "branchNames": ["main"], "branchesWithAttribute": [ { "attribute": "merge_only_reviewed", "value": "enabled" } ] }, "from": { "branchNames": ["scm*"], "branchesWithAttribute": [ { "attribute": "task", } ] }}]
You can use the following parameters to define your merge rules:

Parameter

Description

enabled
Enter
true
to enable the merge rule, and
false
to disable the merge rule.
repositories
Use patterns to match any repositories you want the merge rule to apply to.
rule
Specify the merge rule to use. To find the available merge rules, refer to the page on types of merge rules.
to
Specify any destination branches you want to apply the merge rule to.
from
Specify any source branches you want to apply the merge rule to.
You can filter the branches that you apply the merge rule to. Use the following parameters under either
to
or
from
:

Parameter

Description

branchNames
Use this key to specify the branch names or that you want to apply the merge rule to. Use an
*
to represent any sub string.
brancheswithAttribute
Use this key to filter branches by attribute. Specify the
attribute
name and, if necessary, a
value
.
    
attribute
If you filter branches by attribute, use this key to specify which attribute to use.
    
value
If you filter branches by attribute, you can specify a value for the attribute.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.


    이 페이지의 문제 보고