Skip to content

Commit 94ba98b

Browse files
authored
Create .gitattributes
1 parent 2008260 commit 94ba98b

File tree

1 file changed

+199
-0
lines changed

1 file changed

+199
-0
lines changed

Diff for: .gitattributes

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

0 commit comments

Comments
 (0)