Skip to content

Commit 28f5dc2

Browse files
committed
Add .gitattributes for consistent line endings
1 parent 73b49b2 commit 28f5dc2

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+
# Enforce LF in repo, CRLF in Windows checkouts for text files
2+
* text=auto
3+
4+
# Never translate binary files
5+
*.png binary
6+
*.jpg binary
7+
*.ico binary
8+
*.dll binary
9+
*.so binary
10+
*.a binary
11+
*.lib binary
12+
13+
# Force LF for cross-platform build/config files
14+
*.sh text eol=lf
15+
*.yml text eol=lf
16+
*.yaml text eol=lf
17+
Makefile text eol=lf

0 commit comments

Comments
 (0)