Skip to content

Commit 43ef009

Browse files
committed
Git attributes file for line endings.
1 parent 8c1371d commit 43ef009

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.gitattributes

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

0 commit comments

Comments
 (0)