I have the following .gitignore
for my unity project parent folder which has multiple unity game folders inside. I have tried using git rm --cached
as well but it seems like it is not stopping the tracking of library folder. The folder structure is as follows, where Car Racing, Hat trick etc, are all independent unity game folders.
[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
# Data generated by Visage tracking
*EMOTION*.txt
/*/*-*-*-*-*-*-*.txt