From 8e0f6dcee2b0ac0dfa0a7c3d724b2bad1ea1edb8 Mon Sep 17 00:00:00 2001 From: James R T Date: Fri, 15 Sep 2023 00:19:06 +0800 Subject: [PATCH] [Unity] Add more folders and files to ignore This commit adds these categories of folders and files to ignore: - Automatically generated Unity-related folders - Platform-specific build directories - Windows Store App - UWP - UnityVS - Debug output - Certificates --- Unity.gitignore | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Unity.gitignore b/Unity.gitignore index 58cbc825..447a112f 100644 --- a/Unity.gitignore +++ b/Unity.gitignore @@ -5,10 +5,13 @@ /[Ll]ibrary/ /[Tt]emp/ /[Oo]bj/ +/[Bb]in/ /[Bb]uild/ /[Bb]uilds/ /[Ll]ogs/ /[Uu]ser[Ss]ettings/ +/[Aa]rtifacts/ +/[Ll]ocal[Cc]ache/ # MemoryCaptures can get excessive in size. # They also could contain extremely sensitive data @@ -46,6 +49,11 @@ ExportedObj/ *.mdb *.opendb *.VC.db +*.opensdf +*.sdf +*.ipch +*.log +*.idb # Unity3D generated meta files *.pidb.meta @@ -70,3 +78,37 @@ crashlytics-build.properties # Temporary auto-generated Android Assets /[Aa]ssets/[Ss]treamingAssets/aa.meta /[Aa]ssets/[Ss]treamingAssets/aa/* + +# Ignore UnityVS so that users can use different versions +/[Aa]ssets/UnityVS/* +/[Aa]ssets/UnityVS.meta + +# Platform-specific build directories +/WebBuild/ +/WindowsBuild/ + +# Windows Store App folders +/WindowsStoreApp/ +/WSA/ + +# Automatically generated Unity-related folders +/UnityGenerated/ +/UnityPackageManager/ + +# Generated Unity UWP files and folders +/UWP/ +/project.json +/project.lock.json + +# Folder for generated UWP App to export to HoloLens +/[Aa]pp/ + +# Debug output +/DebugOutput/ +/DebugOutput.meta + +# Certificates +*.cert +*.privkey +*.pfx +*.pfx.meta