Skip to content

Instantly share code, notes, and snippets.

@MatthewMaker
Last active May 6, 2022 23:56
Show Gist options
  • Select an option

  • Save MatthewMaker/af137ce9a3a6252d4b9a09f981bc54f6 to your computer and use it in GitHub Desktop.

Select an option

Save MatthewMaker/af137ce9a3a6252d4b9a09f981bc54f6 to your computer and use it in GitHub Desktop.
Example .gitignore file for use with repositories which contain cross-platform Unity3D projects
# Created (partly) by http://www.gitignore.io
# other sources:
# http://www.gitignore.io
# http://www.yellosoft.us/git-unity
### MacOS ###
.DS_Store
.AppleDouble
.LSOverride
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
### Microsoft Windows ###
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
### Unity ###
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
# Autogenerated VS/MD solution and project files (at any nesting level)
*.csproj
*.unityproj
*.sln
*.suo
*.user
*.pidb
*.booproj
*.vs
# User Specific
*.userprefs*
*.usertasks*
#Mono Project Files
*.pidb
*.resources
test-results/
*_Data
*.exe
### standard "temporary/backup" filenames ###
*.swp
*~.nib
*~
###
#### Other source repository archive directories (protects when cross-importing) ###
.hg
.svn
CVS
.hgignore
### special folders to exclude from our standardized template
target
unityproj/Dump
AuthCache.txt
*.sqlite*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment