This repository was archived by the owner on May 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
168 lines (156 loc) · 3.91 KB
/
.gitattributes
File metadata and controls
168 lines (156 loc) · 3.91 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# .gitattributes
# ============================================
# Global: Auto detect text files
# ============================================
* text=auto eol=lf
# ============================================
# Minecraft Datapack – Force LF
# ============================================
*.mcfunction text eol=lf
*.json text eol=lf diff=json
*.mcmeta text eol=lf diff=json
*.snbt text eol=lf
*.md text eol=lf
*.txt text eol=lf
*.nbt binary
*.mcstructure binary
*.dat binary
*.dat_old binary
*.mca binary
*.mcc binary
*.region binary
# ============================================
# Shader Files (Resource Pack compatibility)
# ============================================
*.glsl text eol=lf
*.vsh text eol=lf
*.fsh text eol=lf
*.vert text eol=lf
*.frag text eol=lf
*.geom text eol=lf
*.comp text eol=lf
*.hlsl text eol=lf
# ============================================
# Config & Build Files
# ============================================
*.yml text eol=lf
*.yaml text eol=lf
*.toml text eol=lf
*.properties text eol=lf
*.env text eol=lf
*.ini text eol=lf
*.cfg text eol=lf
.gitignore text eol=lf
.gitattributes text eol=lf
Makefile text eol=lf
Dockerfile text eol=lf
# ============================================
# Script & Web Files
# ============================================
*.py text eol=lf
*.sh text eol=lf
*.bash 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
*.xml text eol=lf diff=xml
*.svg text eol=lf
# ============================================
# Windows-specific (optional)
# Uncomment if you REALLY need CRLF scripts
# ============================================
# *.bat text eol=crlf
# *.ps1 text eol=crlf
# ============================================
# Document & Office Files
# ============================================
*.pdf binary
*.doc binary
*.docx binary
*.xls binary
*.xlsx binary
*.ppt binary
*.pptx binary
*.odt binary
*.ods binary
*.odp binary
*.csv text eol=lf
# ============================================
# Binary Assets – Images
# ============================================
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.bmp binary
*.tga binary
*.tiff binary
*.psd binary
*.xcf binary
*.hdr binary
*.exr binary
# ============================================
# Audio & Video
# ============================================
*.ogg binary
*.mp3 binary
*.wav binary
*.flac binary
*.aac binary
*.opus binary
*.mp4 binary
*.webm binary
*.avi binary
*.mkv binary
# ============================================
# 3D / Font Assets
# ============================================
*.obj binary
*.mtl binary
*.fbx binary
*.gltf text eol=lf diff=json
*.glb binary
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary
# ============================================
# Archives & Compiled
# ============================================
*.zip binary
*.rar binary
*.7z binary
*.tar binary
*.gz binary
*.jar binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary
*.class binary
*.pyc binary
*.mcpack binary
*.mcworld binary
*.mcaddon binary
# ============================================
# Lock files – text, diffable
# ============================================
*.lock text eol=lf
package-lock.json text eol=lf diff=json
yarn.lock text eol=lf
# ============================================
# Git diff drivers
# ============================================
# To enable the diff=json driver, run:
# git config diff.json.textconv "python3 -m json.tool"
# or:
# git config diff.json.textconv "jq ."
#
# To enable the diff=xml driver, run:
# git config diff.xml.textconv "xmllint --format -"