Created
April 10, 2013 10:37
-
-
Save kaspermunck/5353559 to your computer and use it in GitHub Desktop.
I went to Recreate-Hell and back after having used an insufficient .gitignore file with Unity3d (I lost all metadata for all my prefabs, models and materials). Here's a .gitignore file that will save you from the troubles I had. Note that you must enable meta data files as noted in the file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .gitignore file to use with Unity3d projects on a mac | |
# annoying, autogenerated, hidden file used by Finder | |
.DS_Store | |
# Enable Meta Files in in Unity -> Edit -> Project Settings -> Editor | |
# or you will mess up your prefabs, models and materials when | |
# ignoring Library/ | |
Library/ | |
# MonoDev projects | |
*.csproj | |
# MonoDev Parser Information DataBase | |
*.pidb | |
# MonoDev solutions | |
*.sln | |
Temp/ | |
build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment