Skip to content

Commit 2bc5348

Browse files
committed
Add .gitattributes file to deine line ending behaviour
1 parent 0a046cc commit 2bc5348

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+
*.cmake text
7+
*.cpp text
8+
*.h text
9+
*.md text
10+
*.txt text
11+
*.json text
12+
*.sh text
13+
14+
# Denote all files that are truly binary and should not be modified.
15+
*.mp4 binary
16+

0 commit comments

Comments
 (0)