Skip to content

Commit 731be30

Browse files
committed
Update .gitattributes
1 parent c85a97a commit 731be30

File tree

1 file changed

+202
-1
lines changed

1 file changed

+202
-1
lines changed

.gitattributes

+202-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,202 @@
1-
* text eol=lf
1+
## Source: https://github.com/alexkaratarakis/gitattributes
2+
## Modified * text=auto to * text eol=lf to force LF endings.
3+
4+
## GITATTRIBUTES FOR WEB PROJECTS
5+
#
6+
# These settings are for any web project.
7+
#
8+
# Details per file setting:
9+
# text These files should be normalized (i.e. convert CRLF to LF).
10+
# binary These files are binary and should be left untouched.
11+
#
12+
# Note that binary is a macro for -text -diff.
13+
######################################################################
14+
15+
# Auto detect
16+
## Force LF line endings automatically for files detected as
17+
## text and leave all files detected as binary untouched.
18+
## This will handle all files NOT defined below.
19+
* text eol=lf
20+
21+
# Source code
22+
*.bash text eol=lf
23+
*.bat text eol=crlf
24+
*.cmd text eol=crlf
25+
*.coffee text
26+
*.css text
27+
*.htm text diff=html
28+
*.html text diff=html
29+
*.inc text
30+
*.ini text
31+
*.js text
32+
*.json text
33+
*.jsx text
34+
*.less text
35+
*.ls text
36+
*.map text -diff
37+
*.od text
38+
*.onlydata text
39+
*.php text diff=php
40+
*.pl text
41+
*.ps1 text eol=crlf
42+
*.py text diff=python
43+
*.rb text diff=ruby
44+
*.sass text
45+
*.scm text
46+
*.scss text diff=css
47+
*.sh text eol=lf
48+
*.sql text
49+
*.styl text
50+
*.tag text
51+
*.ts text
52+
*.tsx text
53+
*.xml text
54+
*.xhtml text diff=html
55+
56+
# Docker
57+
Dockerfile text
58+
59+
# Documentation
60+
*.ipynb text
61+
*.markdown text
62+
*.md text
63+
*.mdwn text
64+
*.mdown text
65+
*.mkd text
66+
*.mkdn text
67+
*.mdtxt text
68+
*.mdtext text
69+
*.txt text
70+
AUTHORS text
71+
CHANGELOG text
72+
CHANGES text
73+
CONTRIBUTING text
74+
COPYING text
75+
copyright text
76+
*COPYRIGHT* text
77+
INSTALL text
78+
license text
79+
LICENSE text
80+
NEWS text
81+
readme text
82+
*README* text
83+
TODO text
84+
85+
# Templates
86+
*.dot text
87+
*.ejs text
88+
*.haml text
89+
*.handlebars text
90+
*.hbs text
91+
*.hbt text
92+
*.jade text
93+
*.latte text
94+
*.mustache text
95+
*.njk text
96+
*.phtml text
97+
*.tmpl text
98+
*.tpl text
99+
*.twig text
100+
*.vue text
101+
102+
# Configs
103+
*.cnf text
104+
*.conf text
105+
*.config text
106+
.editorconfig text
107+
.env text
108+
.gitattributes text
109+
.gitconfig text
110+
.htaccess text
111+
*.lock text -diff
112+
package-lock.json text -diff
113+
*.toml text
114+
*.yaml text
115+
*.yml text
116+
browserslist text
117+
Makefile text
118+
makefile text
119+
120+
# Heroku
121+
Procfile text
122+
123+
# Graphics
124+
*.ai binary
125+
*.bmp binary
126+
*.eps binary
127+
*.gif binary
128+
*.gifv binary
129+
*.ico binary
130+
*.jng binary
131+
*.jp2 binary
132+
*.jpg binary
133+
*.jpeg binary
134+
*.jpx binary
135+
*.jxr binary
136+
*.pdf binary
137+
*.png binary
138+
*.psb binary
139+
*.psd binary
140+
# SVG treated as an asset (binary) by default.
141+
*.svg text
142+
# If you want to treat it as binary,
143+
# use the following line instead.
144+
# *.svg binary
145+
*.svgz binary
146+
*.tif binary
147+
*.tiff binary
148+
*.wbmp binary
149+
*.webp binary
150+
151+
# Audio
152+
*.kar binary
153+
*.m4a binary
154+
*.mid binary
155+
*.midi binary
156+
*.mp3 binary
157+
*.ogg binary
158+
*.ra binary
159+
160+
# Video
161+
*.3gpp binary
162+
*.3gp binary
163+
*.as binary
164+
*.asf binary
165+
*.asx binary
166+
*.fla binary
167+
*.flv binary
168+
*.m4v binary
169+
*.mng binary
170+
*.mov binary
171+
*.mp4 binary
172+
*.mpeg binary
173+
*.mpg binary
174+
*.ogv binary
175+
*.swc binary
176+
*.swf binary
177+
*.webm binary
178+
179+
# Archives
180+
*.7z binary
181+
*.gz binary
182+
*.jar binary
183+
*.rar binary
184+
*.tar binary
185+
*.zip binary
186+
187+
# Fonts
188+
*.ttf binary
189+
*.eot binary
190+
*.otf binary
191+
*.woff binary
192+
*.woff2 binary
193+
194+
# Executables
195+
*.exe binary
196+
*.pyc binary
197+
198+
# RC files (like .babelrc or .eslintrc)
199+
*.*rc text
200+
201+
# Ignore files (like .npmignore or .gitignore)
202+
*.*ignore text

0 commit comments

Comments
 (0)