-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitattributes
141 lines (124 loc) · 3.17 KB
/
.gitattributes
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
# See: https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
# Auto detect text files and perform LF normalization
# See also: https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
* text=auto
# Text files where line endings should be preserved
*.patch -text
# Scripts
*.bash text eol=lf
*.sh text eol=lf
# These are explicitly Windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
## GITATTRIBUTES FOR WEB PROJECTS
*.css text diff=css
*.htm text diff=html
*.html text diff=html
*.ini text
*.js text
*.json text
*.jsx text
*.map text -diff
*.sass text
*.scss text diff=css
*.sql text
*.ts text
*.tsx text
*.xml text diff=html
*.csv text
*.tab text
*.tsv text
# Docker
Dockerfile text
# Documentation
*.pdf diff=astextplain
*.md text diff=markdown
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text
# Templates
*.ejs text
*.hbs text
*.hbt text
*.njk text
*.tmpl text
*.tpl text
*.twig text
# Configs
*.conf text
*.config text
.editorconfig text
.env text
.gitattributes text
.gitconfig text
.htaccess text
*.lock text -diff
package.json text eol=lf
package-lock.json text eol=lf
.prettierrc text
*.yaml text
*.yml text
browserslist text
# RC files (like .babelrc or .eslintrc)
*.*rc text
# Ignore files (like .npmignore or .gitignore)
*.*ignore text
# Graphics
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.gifv binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text diff=html
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary
# Audio
*.m4a binary
*.mp3 binary
*.ogg binary
# Video
*.avi binary
*.mov binary
*.mp4 binary
*.webm binary
# Archives
*.7z binary
*.gz binary
*.tar binary
*.zip binary
# Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary
# Enable syntax highlighting
*.gitattributes linguist-language=gitattributes
*.sql linguist-language=sql