Skip to content

Instantly share code, notes, and snippets.

@artero
Forked from wwvuillemot/.gitignore
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artero/eaea8cabe94ff643e3e4 to your computer and use it in GitHub Desktop.
Save artero/eaea8cabe94ff643e3e4 to your computer and use it in GitHub Desktop.
# =============== #
# Unity generated #
# =============== #
# temporary files that you do not want to share with other users
Temp/
Obj/
UnityGenerated/
Library/
# optional, but you likely do not want to store
# your builds in your git repo due to size
Build/
# ===================================== #
# Visual Studio / MonoDevelop generated #
# ===================================== #
# these are generated by Mono itself are specific to the user and machine
# sharing these with others in your repo will lead to issues
ExportedObj/
*.svd
*.userprefs
*.csproj
*.pidb
*.suo
*.sln
*.user
*.unityproj
*.booproj
# ============ #
# OS generated #
# ============ #
# Mac OS X
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db

Unity GIT Ignore file

ABOUT

Adding the .gitignore file to your git repository for a Unity project will help avoid some of pitfalls and issues, especially if you have two or more developers working on the project.

HOW TO USE

  1. Copy this to the root of your git project, and name .gitignore
  2. Follow the instructions at Support for External Version Control to set your Unity Editor to use git as an external version control system.
  3. Enjoy!

QUESTIONS?

If you have questions, feel free to contact me, Ward (Unity Product Manager).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment