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
# .gitattributes — https://git-scm.com/docs/gitattributes
#
# Paired with .editorconfig. Git normalizes any file it detects as
# text to LF in-repo and on checkout; binary files are untouched.
*
# Language-specific diff drivers for better `git diff` hunk headers.
*.rs*.md
# Cargo.lock is text but generated — collapse in code-review UIs.
Cargo.lock
# Explicit binary markers. Git auto-detects most of these, but being
# explicit prevents accidental LF-normalization if a file starts with
# a textlike prefix.
*.png*.jpg*.jpeg*.gif*.ico*.webp*.pdf*.tar*.gz*.tgz*.zip*.xz*.zst*.exe*.dll*.so*.dylib*.a*.o*.rlib