文档

​
​

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
    • UI Reference
      • UVCS window reference
      • Pending changes tab reference
      • Incoming changes tab reference
      • Changesets tab reference
      • Branches tab reference
      • Merge tab reference
      • Settings window reference
  • Unity Version Control plugins
  • Concepts
  • Tutorials
  • On-Prem
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Settings window reference

From the Unity Editor, configure the settings of Unity Version Control.
阅读时间3 分钟
最后更新于 10 个月前

To open the Settings window, select the cog icon in the Unity Version Control (UVCS) window and select Settings from the dropdown menu.
There are three sections in the Settings window, with the options described in the tables below.

Pending Changes Options

Field

Description

Automatically add new files to source controlLet UVCS add new files to source control automatically.
Auto-refreshAutomatically refreshes the Pending Changes list as needed to avoid manual refreshing.
What to find
Show checkoutsShows files that:
You have explicitly checked out in UVCS.
You have moved.
Have a merge in progress.
Find changed files in the workspaceChecks the workspace directory structure to identify changed files via the timestamp.
Check the content to determine files as changed, not just timestampCalculates the hash of files with updated timestamps to ensure the file content has actually changed.
What to show
Group changes in “change lists”
Show private filesShows files that are not committed to source control, such as new files or tool-generated content.
Show ignored filesShows files that you’ve added to the ignored list.
Show hidden filesShows files that you’ve added to the hidden list.
Show deleted files and directoriesShows files that you’ve deleted manually in the workspace outside of UVCS.
Move detection
Find moved and renamed files and directoriesSearches the workspace for possible renamed or moved files, for example, if one file has been deleted and another file has been added.
Match binary files only when they have the same extensionRestricts file matching for binary files to files with the same extension.
Match text files only when they have the same extensionRestricts file matching for text files to files with the same extension.
Similarity percentage sliderDefines how similar files need to be considered as moved or renamed.
For text files, this percentage relates to the content.
For binary files, this percentage relates to the file size.
For directory structures, this relates to children as a percentage of the total number of directory entries.

Diff and Merge Options

Field

Description

Comparison method and encoding
Comparison methodLets you ignore EOL and/or whitespace differences when diffing files
Default encodingDefault encoding for the source contributor when diffing two files
Result encodingDefault encoding for the destination contributor when diffing two files
Merge conflict resolution
Manual conflict resolutionWhen two files are in conflict during a merge, always ask the user to manually solve it
Automatic conflict resolutionWhen two files are in conflict, try to solve it automatically, and don't ask the user if it's not necessary
Merge view behavior
Close merge view and open pending changes when a merge is completedAutomatically closes the merge tab and switches to the pending changes after the merge is finished
Allow merge with pending changesWhen this option is disabled, trying to perform a merge with pending changes shows an error

Shelve and Switch Options

Behavior for pending changes after shelving

Field

Description

Undo changesDeletes all shelved changes from the pending changes after the shelve.
Keep changesKeeps changes in pending changes after the shelve.
Ask alwaysPrompts UVCS to ask which option to use every time you shelve changes.

Behavior when trying to switch/update the workspace with changed items

Field

Description

ShelveThis is the default behavior. UVCS asks whether to leave your changes on a shelf so you can apply them later, or bring the changes with you to the destination of the switch.
AllowTry to perform the switch without modifying your pending changes. If there are conflicts between your pending changes and the destination of the update, the file doesn't update.
Allow, showing a warningSame behavior as Allow, but a dialog is shown to warn you about the pending changes.
Do not allow, show an errorUVCS shows an error when you try to switch or update with changed items that forces you to undo the changes manually to continue.

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

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

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

  • 在本页上
    • Pending Changes Options

    • Diff and Merge Options

    • Shelve and Switch Options

      • Behavior for pending changes after shelving

      • Behavior when trying to switch/update the workspace with changed items


报告此页面的问题