기술 자료

​
​

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
      • Set up a workspace
      • Create a repository
      • Use a nodata replica
      • Create a branch
      • Modify files
      • View file history
      • Code reviews
      • Code reviews (GUI)
      • Merge changes
        • Merge branches
        • Navigate the Mergetool window
        • Resolve merge conflicts
        • Checkouts
        • Shelve changes
        • Undo changes
    • Version Control tools
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Merge branches

Merge branches in Unity Version Control workflows.
읽는 시간 2분
최근 업데이트: 10달 전

When you work on a branch, after you've finished the task, you can merge the branch back into another branch, such as your main branch.

Merge your branch in the Unity Dashboard

You can merge branches in the DevOps section of your Unity Dashboard:
  1. Open your repository and select the Branches tab.
  2. To merge a branch, right-click the branch and select Merge branch into.
  3. On the Merge page, you can edit the default values in the Destination branch and Source dropdown menus if you want.
  4. If there are no merge conflicts, select Merge.
  5. In the dialog, add a comment.
  6. Select Check-in merge.

Merge your branch in the GUI

Merge from this branch to

To merge a branch without switching to the target branch, use the Merge from this branch to option:
  1. On the Branch explorer tab, right-click the branch that you want to merge.
  2. Select Merge from this branch to.
  3. Select the branch that you want to merge the changes into.
  4. Select OK.
  5. Select Check in merge!.

Merge from this branch

You can also configure your current workspace to load the contents of the target branch of the merge, and then you select the source branch to merge from:
  1. In the Branch explorer tab, right-click the branch you want to merge to.
  2. Select Switch to this workspace.
  3. Right-click the branch that you want to merge the changes from and select Merge from this branch.
  4. Select Apply changes.
  5. In the Pending changes tab, select Check in.

Merge your branch in the CLI

  1. Run the switch command to switch to the target branch.
    If you have pending changes in your current workspace, you can’t switch branches.
    cm switch main
  2. Run the
    cm merge
    command to preview a list of what’s going to merge.
    cm merge main/task001
  3. Run
    cm merge –merge
    to actually perform the merge.
    cm merge main/task001 –merge
    If any of the changes require manual merge conflict resolution, the command line launches your default merge tool.
  4. Run
    cm ci -m
    to check in the merge.
    cm ci -m "merged from task001"

Additional resources

  • Merge conflicts
  • Resolve merge conflicts

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

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

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

  • 보고 있는 페이지
    • Merge your branch in the Unity Dashboard

    • Merge your branch in the GUI

      • Merge from this branch to

      • Merge from this branch

    • Merge your branch in the CLI

    • Additional resources


이 페이지의 문제 보고