-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
47 lines (42 loc) · 942 Bytes
/
.gitattributes
File metadata and controls
47 lines (42 loc) · 942 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
44
45
46
47
# Normalize text files in the repository and let Git handle conversions.
* text=auto
# Keep CI/config formats on LF to avoid noisy workflow diffs on Windows edits.
*.yml text eol=lf
*.yaml text eol=lf
# Shell scripts must stay LF for Linux runners/containers.
*.sh text eol=lf
# Source and module files should be consistent across platforms.
*.go text eol=lf
*.mod text eol=lf
*.sum text eol=lf
*.js text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.css text eol=lf
*.html text eol=lf
*.json text eol=lf
*.md text eol=lf
# Windows native script formats keep CRLF for better local ergonomics.
*.ps1 text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# Common binary assets.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.pdf binary
*.zip binary
*.gz binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary