zero's a life

An extra chance.

.gitignore for Unity Projects

| Comments

I found a solution on the Unity website that pointed me toward this blogpost. But a better solution is out there. The Double Fine Game Club’s Bad Golf Community Edition .gitignore looks like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
build_Data/

# Autogenerated VS/MD solution and project files
*.csproj
*.unityproj
*.sln
*.exe
*.userprefs

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.[Ss]potlight-V100
.[Tt]rashes
[Ee]hthumbs.db
[Tt]humbs.db
*~
*#*

This is the .gitignore I’m currently using in my projects.

Comments