Skip to content

Commit b3826d9

Browse files
committed
Add .gitattributes
1 parent c72a357 commit b3826d9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.gitattributes

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# See https://git-scm.com/docs/gitattributes
2+
# See https://help.github.com/articles/dealing-with-line-endings/
3+
4+
# default behavior, if core.autocrlf is unset.
5+
* text=auto
6+
7+
# files to be converted to native line endings on checkout.
8+
*.cpp text
9+
*.h text
10+
11+
# files to always have CRLF line endings on checkout.
12+
*.bat text eol=crlf
13+
14+
# files to always have CR line endings on checkout.
15+
*.sh text eol=cr
16+

0 commit comments

Comments
 (0)