Version Control ignore Files

Hi,
i am using SourceTree and git for versioncontrol my Unity Project.
Using following .gitignore:

# =============== #
# Unity generated #
# =============== #
Temp/
Obj/
UnityGenerated/
Library/
 
# ===================================== #
# Visual Studio / MonoDevelop generated #
# ===================================== #
ExportedObj/
*.svd
*.userprefs
*.csproj
*.pidb
*.suo
*.sln
*.user
*.unityproj
*.booproj
 
# ============ #
# OS generated #
# ============ #
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db

Found it in the internet, because dont really know which files i should ignore.
But right now i am confused about some files that are generated every time i open unity:

  • Assembly-CSharp-Editor.pidb.meta
  • Assembly-CSharp-firstpass.pidb.meta
  • Assembly-UnityScript-firstpass.pidb.meta
    what are these files for? Do i need to track them in my versioncontrol?
    I am working on this project with some friends, and im afraid of breaking theyr settings if i track this files and they check them out…

someone any ideas?

you could add the following since it is ok to exclude the automatically generated pidb files:

exclude pidb meta files

*.pidb.meta

thanks for our answer, but i know what i can do to exclude the files.
The thing i dont know is what this files are for.
What will happen or not happen if i exclude them?
Will i break something up if i exclude them or will it break something up in the working spase of my teammembers if i include this files in the versioncontrol?

since you’ve enabled file versioning in Unity, it is going to generate a meta file for everything, including files you don’t necessarily need… the pidb files are monodevelop parser files that get autogenerated and cached to “speed things up”… and you apparently don’t need them nor their meta files to cluter up your repository.

[edit]

here’s a reference: What are MonoDevelop's .pidb files? - Stack Overflow

Yeah thank you very much this is really helping :slight_smile:
thread can be closed :slight_smile: