Created
August 9, 2017 07:54
-
-
Save rafayali/e0a75056803ab1ff6f59ac06f7f87a13 to your computer and use it in GitHub Desktop.
.gitignore for Unity 2017 projects using VS 2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/[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 |
@xCyborg The following will ignore all root files and directories and then will un-ignore Assets
, Packages
and ProjectSettings
directories located in root.
/*
!/Assets/
!/Packages/
!/ProjectSettings/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to ignore everything except /Assets /Packages/ and /Project Settings directories?