Skip to content

Commit 631114c

Browse files
authored
Create .gitattributes
1 parent dddc589 commit 631114c

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+
# Common settings that generally should always be used with your language specific settings
2+
3+
4+
*.html linguist-vendored=true
5+
6+
7+
# Linguist::FileBlob.new("./*.html").vendored? # => true
8+
# Auto detect text files and perform LF normalization
9+
# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
10+
* text=auto
11+
12+
#
13+
# The above will handle all files NOT found below
14+
#
15+
16+
# Documents
17+
*.bibtex text diff=bibtex
18+
*.doc diff=astextplain
19+
*.DOC diff=astextplain
20+
*.docx diff=astextplain
21+
*.DOCX diff=astextplain
22+
*.dot diff=astextplain
23+
*.DOT diff=astextplain
24+
*.pdf diff=astextplain
25+
*.PDF diff=astextplain
26+
*.rtf diff=astextplain
27+
*.RTF diff=astextplain
28+
*.md text diff=markdown
29+
*.tex text diff=tex
30+
*.adoc text
31+
*.textile text
32+
*.mustache text
33+
*.csv text
34+
*.tab text
35+
*.tsv text
36+
*.txt text
37+
*.sql text
38+
*.ps1 text eol=crlf
39+
40+
# Graphics
41+
*.png binary
42+
*.jpg binary
43+
*.jpeg binary
44+
*.gif binary
45+
*.tif binary
46+
*.tiff binary
47+
*.ico binary
48+
# SVG treated as an asset (binary) by default.
49+
*.svg text
50+
# If you want to treat it as binary,
51+
# use the following line instead.
52+
# *.svg binary
53+
*.eps binary
54+
55+
# Scripts
56+
*.bash text eol=lf
57+
*.fish text eol=lf
58+
*.sh text eol=lf
59+
# These are explicitly windows files and should use crlf
60+
*.bat text eol=crlf
61+
*.cmd text eol=crlf
62+
63+
# Serialisation
64+
*.json text
65+
*.toml text
66+
*.xml text
67+
*.yaml text
68+
*.yml text
69+
70+
# Archives
71+
*.7z binary
72+
*.gz binary
73+
*.tar binary
74+
*.tgz binary
75+
*.zip binary
76+
77+
# Text files where line endings should be preserved
78+
*.patch -text
79+
80+
#
81+
# Exclude files from exporting
82+
#

0 commit comments

Comments
 (0)