-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
37 lines (33 loc) · 774 Bytes
/
.gitattributes
File metadata and controls
37 lines (33 loc) · 774 Bytes
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
# Set the default behavior to text
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.cjs text
*.js text
*.jsx text
*.json text
*.md text
*.css text
*.html text
*.config.js text
# Set binary files to be treated as binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.svg binary
*.ico binary
# Handle additional assets that are usually binary
public/assets/images/*.svg binary
public/assets/images/*.png binary
public/assets/images/*.jpg binary
public/assets/images/*.jpeg binary
# Force CRLF (Windows) line endings
*.cjs text eol=crlf
*.js text eol=crlf
*.jsx text eol=crlf
*.json text eol=crlf
*.md text eol=crlf
*.css text eol=crlf
*.html text eol=crlf
*.config.js text eol=crlf