Theloomvale commited on
Commit
7520d3f
·
verified ·
1 Parent(s): a012299

Update .gitattributes

Browse files
Files changed (1) hide show
  1. .gitattributes +5 -5
.gitattributes CHANGED
@@ -1,20 +1,20 @@
1
- # Ensure consistent line endings
2
  * text=auto eol=lf
3
 
4
- # Treat Python and Markdown files as UTF-8 text
5
  *.py text diff=python
6
  *.md text
7
  *.txt text
8
  *.csv text
9
  *.json text
10
 
11
- # Binary files (don’t diff or modify)
12
  *.png binary
13
  *.jpg binary
14
  *.jpeg binary
15
  *.gif binary
16
  *.webp binary
17
 
18
- # Ignore model files or large binaries
19
  *.bin filter=lfs diff=lfs merge=lfs -text
20
- *.pt filter=lfs diff=lfs merge=lfs -text
 
1
+ # Normalize line endings
2
  * text=auto eol=lf
3
 
4
+ # Treat main text formats as text
5
  *.py text diff=python
6
  *.md text
7
  *.txt text
8
  *.csv text
9
  *.json text
10
 
11
+ # Binary assets
12
  *.png binary
13
  *.jpg binary
14
  *.jpeg binary
15
  *.gif binary
16
  *.webp binary
17
 
18
+ # Large models (use Git LFS if ever needed)
19
  *.bin filter=lfs diff=lfs merge=lfs -text
20
+ *.pt filter=lfs diff=lfs merge=lfs -text