Skip to content

Commit c04e449

Browse files
Add .gitattributes
1 parent c6f5a9d commit c04e449

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.gitattributes

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.cpp text
8+
*.cxx text
9+
*.h text
10+
*.hpp text
11+
*.hxx text
12+
*.java text
13+
*.sh text eol=lf
14+
*.cmake text
15+
*.txt text
16+
*.in text
17+
*.rst text
18+
19+
# Declare files that will always have CRLF line endings on checkout.
20+
*.sln text eol=crlf
21+
*.bat text eol=crlf
22+
23+
# Denote all files that are truly binary and should not be modified.
24+
*.png binary
25+
*.jpg binary
26+
*.class binary
27+

0 commit comments

Comments
 (0)