Update .gitignore
This commit is contained in:
23
.gitignore
vendored
23
.gitignore
vendored
@@ -1,14 +1,21 @@
|
|||||||
# Unity Project - Optimized .gitignore
|
# Unity Project - Refined .gitignore
|
||||||
# Updated from: https://github.com/github/gitignore/blob/main/Unity.gitignore
|
# Updated to track only Assets/Scripts and its related `.meta` files
|
||||||
|
|
||||||
# Ignore everything
|
# Ignore everything
|
||||||
/*
|
/*
|
||||||
|
|
||||||
# Allow specific folders and files
|
# Allow the Assets folder and its .meta files
|
||||||
!/Assets/
|
!/Assets/
|
||||||
!/Assets/Scripts/
|
!/Assets/**/*.meta
|
||||||
|
|
||||||
# Ignore unnecessary Unity directories and files
|
# Ignore everything else in the Assets folder
|
||||||
|
/Assets/*
|
||||||
|
|
||||||
|
# Allow only the Scripts folder and its .meta files
|
||||||
|
!/Assets/Scripts/
|
||||||
|
!/Assets/Scripts/**/*.meta
|
||||||
|
|
||||||
|
# Unity-generated folders and files
|
||||||
[Ll]ibrary/
|
[Ll]ibrary/
|
||||||
[Tt]emp/
|
[Tt]emp/
|
||||||
[Oo]bj/
|
[Oo]bj/
|
||||||
@@ -16,11 +23,11 @@
|
|||||||
[Ll]ogs/
|
[Ll]ogs/
|
||||||
[Uu]ser[Ss]ettings/
|
[Uu]ser[Ss]ettings/
|
||||||
|
|
||||||
# Ignore large or sensitive directories
|
# Large or sensitive directories
|
||||||
[Mm]emoryCaptures/
|
[Mm]emoryCaptures/
|
||||||
[Rr]ecordings/
|
[Rr]ecordings/
|
||||||
|
|
||||||
# Development tools
|
# Development tools and IDE-specific files
|
||||||
.vs/
|
.vs/
|
||||||
.gradle/
|
.gradle/
|
||||||
ExportedObj/
|
ExportedObj/
|
||||||
@@ -34,7 +41,7 @@ ExportedObj/
|
|||||||
*.booproj
|
*.booproj
|
||||||
*.VC.db
|
*.VC.db
|
||||||
|
|
||||||
# Unity-generated meta files
|
# Debugging or unnecessary `.meta` files
|
||||||
*.pidb.meta
|
*.pidb.meta
|
||||||
*.pdb.meta
|
*.pdb.meta
|
||||||
*.mdb.meta
|
*.mdb.meta
|
||||||
|
|||||||
Reference in New Issue
Block a user