I keep having to Google the proper Unity3D project settings for source code control so I’m posting them here for my own future reference:
For Unity 3 and 4:
- Go to Edit>Project Settings>Editor
- In the inspector, change Version Control Mode to Meta Files
- If you have pro, change Asset Serialization Mode to Force Text
This will ensure that all your metadata is set in local metadata files, instead of in your Library folder. At this point, the Library folder becomes unnecessary to keep synced between users.
Now you can ignore these files in your preferred version control, including the entire Library folder: