From 70f79b240ebee3a787087af49127bcfbe12ac840 Mon Sep 17 00:00:00 2001 From: Robii Aragon <55045932+RobiiAragon@users.noreply.github.com> Date: Thu, 5 Feb 2026 04:32:22 -0800 Subject: [PATCH] Add LFS patterns and OS file ignores Add common binary/asset patterns to .gitattributes to route large or binary files (.psd, .fbx, .obj, .png, .jpg, .asset) through Git LFS. Extend .gitignore to exclude common OS-generated files (.DS_Store, .Spotlight-V100, .Trashes, ehthumbs.db, Thumbs.db, etc.) to prevent committing platform artifacts. --- .gitattributes | 6 ++++++ .gitignore | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/.gitattributes b/.gitattributes index dfe07704..5608e5a7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,8 @@ # Auto detect text files and perform LF normalization * text=auto +*.psd filter=lfs diff=lfs merge=lfs -text +*.fbx filter=lfs diff=lfs merge=lfs -text +*.obj filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.jpg filter=lfs diff=lfs merge=lfs -text +*.asset filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore index 96ae0de9..495ca912 100644 --- a/.gitignore +++ b/.gitignore @@ -73,3 +73,12 @@ crashlytics-build.properties # Temporary auto-generated Android Assets /[Aa]ssets/[Ss]treamingAssets/aa.meta /[Aa]ssets/[Ss]treamingAssets/aa/* + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db \ No newline at end of file