-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
53 lines (51 loc) · 1.33 KB
/
Copy path.gitattributes
File metadata and controls
53 lines (51 loc) · 1.33 KB
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
44
45
46
47
48
49
50
51
52
53
# ---------------------------------------------------------------------------
# Repo hygiene — line-ending normalization. Managed; see CLAUDE.md.
# `* text=auto eol=lf` makes git store every text file with LF and check it
# out with LF on every OS. This makes CRLF<->LF churn structurally impossible.
# Do NOT hand-fix line endings; if a pure-EOL diff appears, discard it.
# ---------------------------------------------------------------------------
* text=auto eol=lf
# Explicit text (belt-and-suspenders for common types)
*.md text eol=lf
*.markdown text eol=lf
*.txt text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.toml text eol=lf
*.ini text eol=lf
*.cfg text eol=lf
*.py text eol=lf
*.sh text eol=lf diff=bash
*.bash text eol=lf
*.html text eol=lf
*.css text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.cff text eol=lf
*.csv text eol=lf
*.sql text eol=lf
# Binary — never normalize, never text-diff
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg text eol=lf
*.webp binary
*.pdf binary
*.zip binary
*.gz binary
*.tar binary
*.7z binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.eot binary
*.db binary
*.sqlite binary
*.xlsx binary
*.docx binary
*.pptx binary
*.mp4 binary