Version: 2017.1
解决文件冲突
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 preserved.

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