Skip to content

Commit a77ef7e

Browse files
committed
Add .gitattributes to enforce line endings
1 parent ee24288 commit a77ef7e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.gitattributes

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
*.java text
7+
*.md text
8+
*.xml text
9+
10+
# Declare files that will always have CRLF line endings on checkout.
11+
#*.sln text eol=crlf
12+
13+
# Denote all files that are truly binary and should not be modified.
14+
*.png binary
15+
*.jpg binary
16+
17+

0 commit comments

Comments
 (0)