-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.gitattributes
More file actions
43 lines (40 loc) · 861 Bytes
/
.gitattributes
File metadata and controls
43 lines (40 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# === Default: always normalize to LF in repo ===
* text=auto eol=lf
# === Source code (Python, JS/TS, JSON, YAML, etc.) ===
*.py text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.md text eol=lf
*.toml text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.html text eol=lf
# === Windows-specific scripts (keep CRLF) ===
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# === Binary files (never touch line endings) ===
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.svg binary
*.woff binary
*.woff2 binary
*.ttf binary
*.pyd binary
*.so binary
*.dll binary
*.exe binary
*.zip binary
*.7z binary
*.tar binary
*.gz binary
*.mp4 binary
*.mov binary
*.blend binary