Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 138b685

Browse files
author
Stephen Tramer
committed
Add .gitattributes to fix CRLF issues
1 parent 5b0270e commit 138b685

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.gitattributes

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

0 commit comments

Comments
 (0)