Legacy Documentation: Version 2017.2 (Go to current version)
Resolving file conflicts
Partial Publish
Other Versions

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. Edit the .collabignore file to add your new rules.

  3. 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.

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

Notes

  • 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

Did you find this page useful? Please give it a rating:

Resolving file conflicts
Partial Publish