Skip to content

Instantly share code, notes, and snippets.

@demonixis
Last active February 16, 2016 07:02
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save demonixis/6774458 to your computer and use it in GitHub Desktop.
This is the .gitignore file that I use for my Unity3D projects. Note that all my scripts are in a folder called Scripts, so all other scripts will be ignored. All other assets are ignored. Project files are conserved.
# System files
Thumbs.db
Thumbs.db.meta
*.DS_Store
*.directory
.vs
.vscode
# Build files
*.apk
*.obb
# Lightmaps
*.exr
*.exr.meta
LightmapSnapshot.asset
LightmapSnapshot.asset.meta
LightingData.asset
LightingData.asset.meta
# Visual Studio files
*.cachefile
*.csproj
*.pidb
*.sln
*.suo
*.unityproj
*.user
*.userprefs
*.v11
*.v12
# Folder to exclude
[Bb]in
[Dd]ebug*/
[Rr]elease*/
Builds/
ipch/
Library/
obj/
Temp/
UWP/
WindowsStore/
WS/
UnityVS/
UnityVS.meta
# Folders to keep
!Assets/Vendors/InControl/Source/Debug/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment