Skip to content

Commit 8ebe705

Browse files
wayneparrottMinggang Wang
authored andcommitted
initial .gitattributes commit
1 parent 24d86f5 commit 8ebe705

1 file changed

Lines changed: 117 additions & 0 deletions

File tree

.gitattributes

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
# Based on https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
2+
3+
# Auto detect
4+
## Handle line endings automatically for files detected as
5+
## text and leave all files detected as binary untouched.
6+
## This will handle all files NOT defined below.
7+
* text=auto
8+
9+
# Source code
10+
*.bash text eol=lf
11+
*.bat text eol=crlf
12+
*.c text eol=lf
13+
*.cmd text eol=crlf
14+
*.cpp text eol=lf
15+
*.css text diff=css
16+
*.hpp text eol=lf
17+
*.htm text diff=html
18+
*.html text diff=html
19+
*.inc text
20+
*.ini text
21+
*.js text eol=lf
22+
*.json text eol=lf
23+
*.jsx text eol=lf
24+
*.less text
25+
*.ls text
26+
*.map text -diff
27+
*.ps1 text eol=crlf
28+
*.py text diff=python
29+
*.sh text eol=lf
30+
*.ts text eol=lf
31+
*.tsx text eol=lf
32+
*.xml text eol=lf
33+
*.xhtml text diff=html
34+
35+
# Templates
36+
*.em text eol=lf
37+
38+
# Docker
39+
Dockerfile text
40+
41+
# Documentation
42+
*.ipynb text
43+
*.markdown text diff=markdown
44+
*.md text diff=markdown
45+
*.mdwn text diff=markdown
46+
*.mdown text diff=markdown
47+
*.mkd text diff=markdown
48+
*.mkdn text diff=markdown
49+
*.mdtxt text
50+
*.mdtext text
51+
*.txt text
52+
AUTHORS text
53+
CHANGELOG text
54+
CHANGES text
55+
CONTRIBUTING text
56+
COPYING text
57+
copyright text
58+
*COPYRIGHT* text
59+
license text
60+
LICENSE text
61+
readme text
62+
*README* text
63+
TODO text
64+
65+
# Configs
66+
*.cnf text
67+
*.conf text
68+
*.config text
69+
.editorconfig text
70+
.env text
71+
.gitattributes text
72+
.gitconfig text
73+
.htaccess text
74+
*.lock text -diff
75+
*.gyp text
76+
package.json text eol=lf
77+
package-lock.json text -diff
78+
pnpm-lock.yaml text eol=lf -diff
79+
yarn.lock text -diff
80+
*.toml text
81+
*.yaml text eol=lf
82+
*.yml text eol=lf
83+
Makefile text
84+
makefile text
85+
86+
# Graphics
87+
*.bmp binary
88+
*.gif binary
89+
*.ico binary
90+
*.jng binary
91+
*.jp2 binary
92+
*.jpg binary
93+
*.jpeg binary
94+
*.jpx binary
95+
*.jxr binary
96+
*.pdf binary
97+
*.png binary
98+
# SVG treated as an asset (binary) by default.
99+
*.svg text
100+
# If you want to treat it as binary,
101+
# use the following line instead.
102+
# *.svg binary
103+
*.svgz binary
104+
*.tif binary
105+
*.tiff binary
106+
*.wbmp binary
107+
*.webp binary
108+
109+
# Executables
110+
*.exe binary
111+
*.pyc binary
112+
113+
# RC files (like .babelrc or .eslintrc)
114+
*.*rc text
115+
116+
# Ignore files (like .npmignore or .gitignore)
117+
*.*ignore text

0 commit comments

Comments
 (0)