- Home /
Single .gitignore for parent folder with multiple unity projects
Ok, Unity .gitignore pertaining to multiple projects in separate folders, but in the same parent folder. I have a git repository that has 4 related projects. 2 are Unity projects, 1 is Silex PHP and the last is Swagger files. I keep getting Library, Temp and other unwanted files for check-in. I have this from various different sources around the net but it is not working as well. Any help would be appreciated.
# Ignore everything in the root
/*
# Except for these:
!/.gitattributes
!/.gitignore
!/.gitmodules
!/ILUF_Client
!/ILUF_Common
!/ILUF_Server
!/ILUF_Swagger
# And these for any level:
![Aa]ssets]/
![Pp]rojectSettings/
!README.md
!README.md.meta
#but, ignore these for all levels:
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
Assets/AssetStoreTools*
# Visual Studio 2015 cache directory
/.vs/
# 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
# ============ #
# OS generated #
# ============ #
.DS_Store*
._*
.Spotlight-V100
.Trashes
ehthumbs.db
[Tt]humbs.db
[Dd]esktop.ini
What am I missing here?
Your answer
Follow this Question
Related Questions
Error and conflict on meta files on repository and my pc 0 Answers
Can't specify revision for git package dependency with SSH 0 Answers
Unity taking a SEVERAL OF MINUTES importing .ma and .mb files 0 Answers
Unity Git - Ignore Library 2 Answers
SourceTree Hangs (not responding) with Unity Large Project 1 Answer