-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
65 lines (53 loc) · 1.03 KB
/
.gitattributes
File metadata and controls
65 lines (53 loc) · 1.03 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
54
55
56
57
58
59
60
61
62
63
64
65
# Git attributes file
# Controls how Git handles line endings and file types
# https://git-scm.com/docs/gitattributes
# Default behavior: normalize line endings on checkin, leave them unchanged on checkout
* text=auto
# Rust source files
*.rs text
*.toml text
# Configuration files
*.yml text
*.yaml text
*.json text
*.xml text
*.md text
*.txt text
# Shell scripts (enforce LF)
*.sh text eol=lf
*.bash text eol=lf
# Windows batch files (enforce CRLF)
*.bat text eol=crlf
*.cmd text eol=crlf
# Binary files
*.exe binary
*.dll binary
*.so binary
*.dylib binary
*.a binary
*.lib binary
*.pdb binary
# Images
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg text
# Archives
*.zip binary
*.tar binary
*.gz binary
*.7z binary
*.rar binary
# Lock files should always use LF
Cargo.lock text eol=lf
package-lock.json text eol=lf
yarn.lock text eol=lf
# Documentation
*.pdf binary
# IDE files
*.code-workspace text
# Fuzz corpus and artifacts (treat as binary to avoid corruption)
fuzz/corpus/** binary
fuzz/artifacts/** binary