Skip to content

Commit 20a4ca0

Browse files
committed
Add gitattributes
Signed-off-by: Sammy-T <[email protected]>
1 parent 2a02db0 commit 20a4ca0

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

.gitattributes

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Normalize line endings for files detected as text
2+
* text=auto
3+
4+
# Source
5+
*.go text diff=golang
6+
*.html text diff=html
7+
*.css text diff=css
8+
*.js text
9+
10+
# Go module files
11+
*.mod text eol=lf
12+
*.sum text eol=lf
13+
14+
# Config
15+
*.json text
16+
17+
# Graphics
18+
*.ai binary
19+
*.bmp binary
20+
*.eps binary
21+
*.gif binary
22+
*.gifv binary
23+
*.ico binary
24+
*.jng binary
25+
*.jp2 binary
26+
*.jpg binary
27+
*.jpeg binary
28+
*.jpx binary
29+
*.jxr binary
30+
*.pdf binary
31+
*.png binary
32+
*.psb binary
33+
*.psd binary
34+
# SVG treated as an asset (binary) by default.
35+
# *.svg text
36+
# If you want to treat it as binary,
37+
# use the following line instead.
38+
*.svg binary
39+
*.svgz binary
40+
*.tif binary
41+
*.tiff binary
42+
*.wbmp binary
43+
*.webp binary
44+
45+
# Scripts
46+
*.bash text eol=lf
47+
*.fish text eol=lf
48+
*.ksh text eol=lf
49+
*.sh text eol=lf
50+
*.zsh text eol=lf
51+
# These are explicitly windows files and should use crlf
52+
*.bat text eol=crlf
53+
*.cmd text eol=crlf
54+
*.ps1 text eol=crlf
55+
56+
# Documentation
57+
*.markdown text diff=markdown
58+
*.md text diff=markdown
59+
*.mdwn text diff=markdown
60+
*.mdown text diff=markdown
61+
*.mkd text diff=markdown
62+
*.mkdn text diff=markdown
63+
*.mdtxt text
64+
*.mdtext text
65+
*.txt text
66+
AUTHORS text
67+
CHANGELOG text
68+
CHANGES text
69+
CONTRIBUTING text
70+
COPYING text
71+
copyright text
72+
*COPYRIGHT* text
73+
INSTALL text
74+
license text
75+
LICENSE text
76+
NEWS text
77+
readme text
78+
*README* text
79+
TODO text
80+
81+
# Ignore files
82+
*.*ignore text

0 commit comments

Comments
 (0)