Skip to content

Commit 341a51b

Browse files
committed
Added .gitattributes
Signed-off-by: Mitch Gaffigan <[email protected]>
1 parent e2b5878 commit 341a51b

File tree

1 file changed

+146
-0
lines changed

1 file changed

+146
-0
lines changed

.gitattributes

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
# Common settings that generally should always be used with your language specific settings
2+
3+
# Auto detect text files and perform LF normalization
4+
* text=auto
5+
6+
#
7+
# The above will handle all files NOT found below
8+
#
9+
10+
# Documents
11+
*.bibtex text diff=bibtex
12+
*.doc diff=astextplain
13+
*.DOC diff=astextplain
14+
*.docx diff=astextplain
15+
*.DOCX diff=astextplain
16+
*.dot diff=astextplain
17+
*.DOT diff=astextplain
18+
*.pdf diff=astextplain
19+
*.PDF diff=astextplain
20+
*.rtf diff=astextplain
21+
*.RTF diff=astextplain
22+
*.md text diff=markdown
23+
*.mdx text diff=markdown
24+
*.tex text diff=tex
25+
*.adoc text
26+
*.textile text
27+
*.mustache text
28+
*.csv text eol=crlf
29+
*.tab text
30+
*.tsv text
31+
*.txt text
32+
*.sql text
33+
*.epub diff=astextplain
34+
35+
# Graphics
36+
*.png binary
37+
*.jpg binary
38+
*.jpeg binary
39+
*.gif binary
40+
*.tif binary
41+
*.tiff binary
42+
*.ico binary
43+
*.svg text
44+
*.eps binary
45+
46+
# Fonts
47+
*.otf binary
48+
*.ttf binary
49+
*.woff binary
50+
*.woff2 binary
51+
52+
# Scripts
53+
*.bash text eol=lf
54+
*.fish text eol=lf
55+
*.ksh text eol=lf
56+
*.sh text eol=lf
57+
*.zsh text eol=lf
58+
# These are explicitly windows files and should use crlf
59+
*.bat text eol=crlf
60+
*.cmd text eol=crlf
61+
*.ps1 text eol=crlf
62+
63+
# Serialisation
64+
*.json text
65+
*.toml text
66+
*.xml text
67+
*.xsd text
68+
*.yaml text
69+
*.yml text
70+
71+
# Archives
72+
*.7z binary
73+
*.bz binary
74+
*.bz2 binary
75+
*.bzip2 binary
76+
*.gz binary
77+
*.lz binary
78+
*.lzma binary
79+
*.rar binary
80+
*.tar binary
81+
*.taz binary
82+
*.tbz binary
83+
*.tbz2 binary
84+
*.tgz binary
85+
*.tlz binary
86+
*.txz binary
87+
*.xz binary
88+
*.Z binary
89+
*.zip binary
90+
*.zst binary
91+
92+
# Text files where line endings should be preserved
93+
*.patch -text
94+
95+
#
96+
# Exclude files from exporting
97+
#
98+
99+
.gitattributes export-ignore
100+
.gitignore export-ignore
101+
.gitkeep export-ignore
102+
103+
# Java sources
104+
*.java text diff=java
105+
*.kt text diff=kotlin
106+
*.groovy text diff=java
107+
*.scala text diff=java
108+
*.gradle text diff=java
109+
*.gradle.kts text diff=kotlin
110+
*.form text
111+
*.classpath text
112+
*.vmoptions text
113+
114+
# These files are text and should be normalized (Convert crlf => lf)
115+
*.css text diff=css
116+
*.scss text diff=css
117+
*.sass text
118+
*.df text
119+
*.htm text diff=html
120+
*.html text diff=html
121+
*.js text
122+
*.mjs text
123+
*.cjs text
124+
*.jsp text
125+
*.jspf text
126+
*.jspx text
127+
*.properties text
128+
*.tld text
129+
*.tag text
130+
*.tagx text
131+
*.xml text
132+
*.hl7 text
133+
134+
# These files are binary and should be left untouched
135+
# (binary is a macro for -text -diff)
136+
*.class binary
137+
*.dll binary
138+
*.ear binary
139+
*.jar binary
140+
*.so binary
141+
*.war binary
142+
*.jks binary
143+
144+
# Common build-tool wrapper scripts ('.cmd' versions are handled by 'Common.gitattributes')
145+
mvnw text eol=lf
146+
gradlew text eol=lf

0 commit comments

Comments
 (0)