Skip to content

Commit 6c286db

Browse files
committed
Added gitattributes
1 parent 7da4c80 commit 6c286db

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.gitattributes

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Set default behaviour, in case users don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files we want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.h text
8+
*.cpp text
9+
*.hpp text
10+
11+
*.txt text
12+
*.md text
13+
*.adoc text
14+
15+
*.java text
16+
17+
*.sh text
18+
*.cmd text
19+
20+
*.html text
21+
*.jsp text
22+
*.xml text
23+
24+
# Declare files that will always have CRLF line endings on checkout.
25+
#*.sln text eol=crlf
26+
27+
# Denote all files that are truly binary and should not be modified.
28+
*.png binary
29+
*.jpg binary
30+

0 commit comments

Comments
 (0)