-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.gitattributes
More file actions
58 lines (45 loc) · 1.1 KB
/
.gitattributes
File metadata and controls
58 lines (45 loc) · 1.1 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
# Auto detect text files and perform LF normalization
* text=auto
# Go source files
*.go text eol=lf
# Bash scripts
*.sh text eol=lf
# Markdown and documentation
*.md text eol=lf
# JSON and data files
*.json text eol=lf
*.xml text eol=lf
*.toml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
# Lock files (generated, but treat as text)
*.lock text eol=lf linguist-generated=true
# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg binary
*.pdf binary
*.woff binary
*.woff2 binary
# SVG files - mark as generated/binary to avoid noisy diffs in examples
*.svg linguist-generated=true
# Output and coverage files - mark as generated
*.out linguist-generated=true
coverage*.out linguist-generated=true
# Example outputs - mark as generated
/output/** linguist-generated=true
/examples/real/*.json linguist-generated=true
/examples/test/*.json linguist-generated=true
# Archive files
*.zip binary
*.tar binary
*.gz binary
*.tgz binary
*.bz2 binary
# Go binaries
/bin/* binary
# Treat go.sum as generated (don't show in diffs by default on GitHub)
go.sum linguist-generated=true