-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.gitattributes
More file actions
44 lines (40 loc) · 738 Bytes
/
Copy path.gitattributes
File metadata and controls
44 lines (40 loc) · 738 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
38
39
40
41
42
43
44
# Auto detect text files and normalize line endings to LF
* text=auto eol=lf
# Explicitly declare text files
*.go text
*.md text
*.yaml text
*.yml text
*.json text
*.txt text
*.sh text
*.ps1 text
*.tsx text
*.ts text
*.jsx text
*.js text
*.css text
*.scss text
*.html text
# Declare files that will always have CRLF line endings on checkout
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Denote all files that are truly binary and should not be modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.pdf binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary
# Exclude node_modules and dependencies
node_modules/** -text
vendor/** -text