Add LFS rules and gitignore
This commit is contained in:
+41
-1
@@ -1,2 +1,42 @@
|
||||
# Normalize EOL for all files that Git considers text files.
|
||||
# ─── Binary assets → LFS ───────────────────────────────────────────
|
||||
*.glb filter=lfs diff=lfs merge=lfs -text
|
||||
*.gltf 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
|
||||
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
||||
*.webp filter=lfs diff=lfs merge=lfs -text
|
||||
*.exr filter=lfs diff=lfs merge=lfs -text
|
||||
*.hdr filter=lfs diff=lfs merge=lfs -text
|
||||
*.svg -filter -diff -merge text
|
||||
|
||||
*.ogg filter=lfs diff=lfs merge=lfs -text
|
||||
*.wav filter=lfs diff=lfs merge=lfs -text
|
||||
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.otf filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Godot binary resources (collision shapes, baked data)
|
||||
*.res filter=lfs diff=lfs merge=lfs -text
|
||||
*.scn filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# ─── Line endings ──────────────────────────────────────────────────
|
||||
* text=auto eol=lf
|
||||
|
||||
*.gd text eol=lf
|
||||
*.tscn text eol=lf
|
||||
*.tres text eol=lf
|
||||
*.godot text eol=lf
|
||||
*.cfg text eol=lf
|
||||
*.import text eol=lf
|
||||
*.uid text eol=lf
|
||||
*.json text eol=lf
|
||||
*.md text eol=lf
|
||||
*.sh text eol=lf
|
||||
|
||||
# ─── Don't diff these ──────────────────────────────────────────────
|
||||
*.import -diff
|
||||
*.uid -diff
|
||||
|
||||
+43
-3
@@ -1,3 +1,43 @@
|
||||
# Godot 4+ specific ignores
|
||||
.godot/
|
||||
/android/
|
||||
# ─── Godot ─────────────────────────────────────────────────────────
|
||||
# Import cache. Regenerates on open. NEVER commit.
|
||||
game/.godot/
|
||||
|
||||
# Orphaned temp files from interrupted imports
|
||||
*.import-*
|
||||
|
||||
# Android build template
|
||||
game/android/
|
||||
|
||||
# ─── Build output ──────────────────────────────────────────────────
|
||||
/export/
|
||||
/build/
|
||||
*.pck
|
||||
*.exe
|
||||
*.x86_64
|
||||
*.dmg
|
||||
*.apk
|
||||
*.aab
|
||||
|
||||
# ─── DCC backups (should live in Nextcloud, not here) ──────────────
|
||||
*.blend[0-9]
|
||||
*.blend[0-9][0-9]
|
||||
*.kra~
|
||||
*.krz
|
||||
*.psb
|
||||
*.tmp
|
||||
|
||||
# ─── Editors ───────────────────────────────────────────────────────
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# ─── OS ────────────────────────────────────────────────────────────
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
desktop.ini
|
||||
|
||||
# ─── Nextcloud sync artifacts ──────────────────────────────────────
|
||||
.sync_*.db
|
||||
*.~lock*
|
||||
|
||||
Reference in New Issue
Block a user