Update gitattributes
Browse files- gitattributes +45 -35
gitattributes
CHANGED
@@ -1,35 +1,45 @@
|
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Set default behavior to automatically normalize line endings
|
2 |
+
* text=auto
|
3 |
+
|
4 |
+
# Explicitly declare text files to ensure they use LF
|
5 |
+
*.html text eol=lf
|
6 |
+
*.css text eol=lf
|
7 |
+
*.js text eol=lf
|
8 |
+
*.md text eol=lf
|
9 |
+
*.json text eol=lf
|
10 |
+
*.py text eol=lf
|
11 |
+
*.txt text eol=lf
|
12 |
+
|
13 |
+
# Declare MIME types for web files
|
14 |
+
*.html text/html
|
15 |
+
*.css text/css
|
16 |
+
*.js text/javascript
|
17 |
+
*.json application/json
|
18 |
+
*.svg image/svg+xml
|
19 |
+
*.png image/png
|
20 |
+
*.jpg image/jpeg
|
21 |
+
*.jpeg image/jpeg
|
22 |
+
*.gif image/gif
|
23 |
+
*.webp image/webp
|
24 |
+
*.woff font/woff
|
25 |
+
*.woff2 font/woff2
|
26 |
+
*.ttf font/ttf
|
27 |
+
*.eot application/vnd.ms-fontobject
|
28 |
+
*.otf font/otf
|
29 |
+
|
30 |
+
# Declare files that should be treated as binary
|
31 |
+
*.png binary
|
32 |
+
*.jpg binary
|
33 |
+
*.jpeg binary
|
34 |
+
*.gif binary
|
35 |
+
*.ico binary
|
36 |
+
*.webp binary
|
37 |
+
*.woff binary
|
38 |
+
*.woff2 binary
|
39 |
+
*.ttf binary
|
40 |
+
*.eot binary
|
41 |
+
*.otf binary
|
42 |
+
|
43 |
+
# Keep these specific file types unchanged
|
44 |
+
*.md diff
|
45 |
+
*.txt diff
|