-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
49 lines (45 loc) · 1.24 KB
/
Copy path.gitattributes
File metadata and controls
49 lines (45 loc) · 1.24 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
# =============================================================
# Line-ending & diff normalization
#
# The repository stores LF for every text file. Windows batch
# scripts are the only exception (they require CRLF). This kills
# the CRLF/LF churn that otherwise appears whenever a text file
# is touched on a Windows checkout. Pair with .editorconfig so
# editors write LF in the first place.
# =============================================================
# Default: auto-detect text, store/check out as LF.
* text=auto eol=lf
# --- Scripts that must keep a specific line ending ---
*.bat text eol=crlf
*.cmd text eol=crlf
*.sh text eol=lf
gradlew text eol=lf
# --- Explicit text types (documentation / source / config) ---
*.kt text eol=lf
*.kts text eol=lf
*.java text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.vue text eol=lf
*.py text eol=lf
*.json text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.txt text eol=lf
*.properties text eol=lf
*.gradle text eol=lf
# --- Binary: never normalize, never text-diff ---
*.jar binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary
*.zip binary
*.gz binary