Version: 5.6
解决文件冲突
Partial Publish

Ignore files

Your Unity Project is a collection of files and folders. To exclude files and folders in your Project from Collaborate, edit the .collabignore file in the Project folder on your computer. If you have set up your Project in Collaborate, this file is in the root of the Project folder, and lists the files and folders excluded by default in Collaborate.

To add your own exclude rules to .collabignore:

  1. Familiarise yourself with the GitIgnore documentation on Git-SCM.com.

2.编辑 .collabignore 文件以添加新规则。

  1. Start the Unity Editor (or restart the Editor if it is already running). Unity now takes note of the exclusions you added to the .collabignore file.

  2. Publish your .collabignore changes in Collaborate to share your exclusions with the rest of your team.

注意

  • For local edits to the .collabignore file to take effect, you need to restart the Unity Editor.

  • If you exclude a file already tracked in Collaborate, its existing file history is erased.

There are certain Project files and directories that you can never exclude from Collaborate using .collabignore. These are:

  • The .collabignore file itself

  • The Assets folder (although you can exclude specific files or folders within the Assets folder)

  • The Project Settings folder

  • Any .asset file inside the Project Settings folder

  • ProjectVersion.txt within the Project Settings folder

解决文件冲突
Partial Publish
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961