ドキュメント

​
​

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
    • Add version control to projects
    • Editor version control tutorials
      • Check in files
      • Ignore files
      • View changes
      • Undo changes
      • View changesets
      • Switch to changeset
      • Revert to changeset
      • Create branch
      • Switch to branch
      • Merge
    • UI Reference
  • Unity Version Control plugins
  • Concepts
  • Tutorials
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Switch to branch

From the Unity Editor, update your local workspace to a specific branch.
読み終わるまでの所要時間 2 分
最終更新 10ヶ月前

Use the Switch workspace to this branch feature to update your local workspace to a specific branch.
Switch to an existing branch in the Unity Version Control window:
  1. Select the Branches icon, and then select Branches to open the Branches tab. If the tab is already open, you can directly select Branches.
  2. Right-click the branch you want to switch to.
  3. Select Switch workspace to this branch.
  4. In the dialog, select Switch.

Switch with pending changes

When you switch to a different branch, you might have pending changes in your local workspace. To determine how Unity Version Control (UVCS) handles the switch, configure the Behavior when trying to switch/update the workspace with changed items setting.

Shelve and Switch

The default behavior is Shelve, which shows you a dialog with two options to decide what to do with the pending changes:
注
The Shelve and Switch behavior is also available when you switch to a changeset or label. When you switch to a label, only the Leave changes option is available because you can't check out a label.

Leave changes

Select this option to leave the pending changes on your current branch. This lets you switch to the new branch cleanly as if your workspace didn't have any changes. If you switch back to the original branch, you can re-apply the changes in your workspace and continue to work on them.
For example, this option is helpful if you're working on one branch but want to quickly check something on an unrelated branch, or a previous changeset on the same branch.
UVCS automatically creates a shelveset with your pending changes, and detects when you switch back to the branch to offer you the option to apply the changes.

Bring changes

Select this option to keep pending changes across the switch. Your local workspace switches to the new branch and brings the pending changes so you can check in the changes in the destination branch.
For example, this option is helpful if you accidentally make changes on a branch you didn't mean to, and want to bring the changes to the correct branch.
注
If you select Bring changes, the destination of the switch might contain changes in the same files as your current workspace. You might need to manually resolve conflicts to proceed with the operation. In this case, UVCS performs the switch and you can either resolve the conflicts, or leave them in the shelveset to resolve them later.

Copyright © 2026 Unity Technologies
法規事項プライバシーポリシークッキーDocumentation Terms of Use私の個人情報を販売または共有しないプライバシーに関する選択 (クッキー設定)

"Unity" の名称、Unity のロゴ、およびその他の Unity の商標は、米国およびその他の国における Unity Technologies またはその関係会社の商標または登録商標です (詳しくはこちら)。その他の名称またはブランドは該当する所有者の商標です。

一部のページは利便性向上のため機械翻訳を使用しており、内容に不正確な表現が含まれる場合があります。内容に齟齬または不一致が生じた場合は、英語版を正本とします。

  • このページ
    • Switch with pending changes

      • Shelve and Switch

      • Leave changes

      • Bring changes


このページの問題を報告する