Skip to content

Instantly share code, notes, and snippets.

@bengsfort
Last active October 12, 2017 03:26
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bengsfort/2ea17f57ff140820c3e4e16c42099a97 to your computer and use it in GitHub Desktop.
Save bengsfort/2ea17f57ff140820c3e4e16c42099a97 to your computer and use it in GitHub Desktop.
Unity project .gitignore
# Unity folders
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/Assets/AssetStoreTools*
# Visual Studio 2015 cache directory
/.vs/
# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
# Unity3D generated meta files
*.pidb.meta
# Unity3D Generated File On Crash Reports
sysinfo.txt
# Builds
*.apk
*.unitypackage
# JetBrains IDE stuff
# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries
# Sensitive or high-churn files:
# .idea/.idea.{ProjectNameHere}/.idea/workspace.xml
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
@bengsfort
Copy link
Author

For quick inclusion in a project on Mac:

  • Copy the raw contents of the gist to clipboard
  • In the project root: pbpaste > ./.gitignore

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