From 20be881dcb0e4d7af01117a9879b414b1b3dd385 Mon Sep 17 00:00:00 2001 From: SHOUTING_PIRATE Date: Thu, 27 Mar 2025 13:58:31 +0000 Subject: [PATCH] Update .gitignore --- .gitignore | 78 +++++++++++++++++------------------------------------- 1 file changed, 25 insertions(+), 53 deletions(-) diff --git a/.gitignore b/.gitignore index 31c8ac8..dda4ad3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,87 +1,59 @@ -# This .gitignore file should be placed at the root of your Unity project directory -# -# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore -# +# Unity Project - Optimized .gitignore +# Updated from: https://github.com/github/gitignore/blob/main/Unity.gitignore -#Ignore everything +# Ignore everything /* -#Allow the Assets folder +# Allow specific folders and files !/Assets/ - -#Ignore everything else in the Assets folder -/Assets/* - -#Allow the Assets/Scripts folder !/Assets/Scripts/ -.utmp/ -/[Ll]ibrary/ -/[Tt]emp/ -/[Oo]bj/ -/[Bb]uild/ -/[Bb]uilds/ -/[Ll]ogs/ -/[Uu]ser[Ss]ettings/ +# Ignore unnecessary Unity directories and files +[Ll]ibrary/ +[Tt]emp/ +[Oo]bj/ +[Bb]uild*/ +[Ll]ogs/ +[Uu]ser[Ss]ettings/ -# MemoryCaptures can get excessive in size. -# They also could contain extremely sensitive data -/[Mm]emoryCaptures/ +# Ignore large or sensitive directories +[Mm]emoryCaptures/ +[Rr]ecordings/ -# Recordings can get excessive in size -/[Rr]ecordings/ - -# Uncomment this line if you wish to ignore the asset store tools plugin -# /[Aa]ssets/AssetStoreTools* - -# Autogenerated Jetbrains Rider plugin -/[Aa]ssets/Plugins/Editor/JetBrains* - -# Visual Studio cache directory +# Development tools .vs/ - -# Gradle cache directory .gradle/ - -# Autogenerated VS/MD/Consulo solution and project files ExportedObj/ .consulo/ *.csproj *.unityproj *.sln -*.suo *.tmp -*.user -*.userprefs +*.user* *.pidb *.booproj -*.svd -*.pdb -*.mdb -*.opendb *.VC.db -# Unity3D generated meta files +# Unity-generated meta files *.pidb.meta *.pdb.meta *.mdb.meta -# Unity3D generated file on crash reports +# Unity crash report sysinfo.txt -# Builds +# Build output *.apk *.aab -*.unitypackage -*.unitypackage.meta *.app +*.unitypackage* -# Crashlytics generated file +# Crashlytics properties crashlytics-build.properties # Packed Addressables -/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* +Assets/AddressableAssetsData/**/*.bin* -# Temporary auto-generated Android Assets -/[Aa]ssets/[Ss]treamingAssets/aa.meta -/[Aa]ssets/[Ss]treamingAssets/aa/* +# Temporary Android StreamingAssets +Assets/StreamingAssets/aa.meta +Assets/StreamingAssets/aa \ No newline at end of file