forked from Scottcjn/Rustchain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
102 lines (86 loc) · 2.34 KB
/
.gitattributes
File metadata and controls
102 lines (86 loc) · 2.34 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# =============================================================================
# RustChain Git Attributes
# =============================================================================
# File size and diff settings for media assets
# =============================================================================
# Asciinema recordings (text-based, keep in repo)
*.cast text
docs/asciinema/*.cast text
# SVG files (text-based, good for version control)
*.svg text
docs/assets/*.svg text
docs/media/*.svg text
# GIF files (binary, track but don't diff)
*.gif binary
docs/asciinema/*.gif -diff
docs/assets/*.gif -diff
docs/media/*.gif -diff
# PNG files (binary, track but don't diff)
*.png binary
docs/assets/*.png -diff
docs/media/*.png -diff
docs/*.png -diff
# Large media files (warn on commit)
*.mp4 binary
*.mov binary
*.avi binary
*.mkv binary
# PDF documentation (binary)
*.pdf binary
docs/*.pdf -diff
docs/whitepaper/*.pdf -diff
# Audio files (binary)
*.wav binary
*.mp3 binary
*.ogg binary
docs/media/*.wav -diff
docs/media/*.mp3 -diff
# Font files (binary)
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
# Archive files (typically should be in .gitignore)
*.zip binary
*.tar binary
*.gz binary
*.7z binary
*.rar binary
# =============================================================================
# Line ending normalization
# =============================================================================
# Set default behavior to automatically normalize text files
* text=auto
# Explicitly declare source code files as text
*.sh text eol=lf
*.py text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.jsx text eol=lf
*.tsx text eol=lf
*.html text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.md text eol=lf
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.toml text eol=lf
*.xml text eol=lf
*.ini text eol=lf
*.env text eol=lf
*.txt text eol=lf
*.rst text eol=lf
# Shell scripts should always use LF
*.sh text eol=lf
# Windows batch files should use CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
# =============================================================================
# Export settings (for git archive)
# =============================================================================
# Exclude development files from git archive
.gitattributes export-ignore
.gitignore export-ignore
scripts/asciinema/ export-ignore
docs/asciinema/*.cast export-ignore