Skip to content

Instantly share code, notes, and snippets.

@ErnSur
Last active May 27, 2024 07:51
Show Gist options
  • Save ErnSur/8112c76adab8633e60db4aff7ca3b8e8 to your computer and use it in GitHub Desktop.
Save ErnSur/8112c76adab8633e60db4aff7ca3b8e8 to your computer and use it in GitHub Desktop.
## To remove all ignored files from repo
# git rm -r --cached .
# git add .
#
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://gist.githubusercontent.com/ErnSur/8112c76adab8633e60db4aff7ca3b8e8/raw/
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/
# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/[Mm]emoryCaptures/
# Recordings can get excessive in size
/[Rr]ecordings/
# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*
# Autogenerated Jetbrains Rider plugin
/[Aa]ssets/Plugins/Editor/JetBrains*
# Visual Studio cache directory
.vs/
.vsconfig/
.vscode/
# JetBrains Rider
.idea/
# Gradle cache directory
.gradle/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db
# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta
# Unity3D generated file on crash reports
sysinfo.txt
# Builds
*.apk
*.aab
*.unitypackage
*.unitypackage.meta
*.app
# Crashlytics generated file
crashlytics-build.properties
# Packed Addressables
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*
# MacOS
*.DS_Store
# Project specific
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment