chore: ignore generated cache files

This commit is contained in:
daixiawu 2026-05-26 16:09:03 +08:00
parent 6967dde13f
commit d593338f8b
13 changed files with 46 additions and 0 deletions

41
.gitattributes vendored Normal file
View File

@ -0,0 +1,41 @@
* text=auto
# Unity text assets should keep stable line endings for readable diffs.
*.cs text eol=lf
*.asmdef text eol=lf
*.shader text eol=lf
*.cginc text eol=lf
*.mat text eol=lf
*.prefab text eol=lf
*.unity text eol=lf
*.asset text eol=lf
*.meta text eol=lf
# Project docs and scripts.
*.md text eol=lf
*.json text eol=lf
*.html text eol=lf
*.css text eol=lf
*.js text eol=lf
*.py text eol=lf
*.ps1 text eol=lf
*.bat text eol=crlf
# Binary assets.
*.bytes binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.ttf binary
*.otf binary
*.dll binary
*.exe binary
*.pdb binary
*.xlsx binary
*.xls binary
*.zip binary
*.7z binary
*.rar binary

5
.gitignore vendored
View File

@ -108,3 +108,8 @@ Tools/apply_translations.py
Tools/reapply_all.py
Tools/revert_inactive.py
Tools/Multilingual_p1.xlsx
# Python caches
__pycache__/
**/__pycache__/
*.py[cod]