Skip to content

Commit 9530919

Browse files
committed
Add a git attributes file that allows native file ending checkout
This makes it easier for people to contribute from different OS platforms. See also https://help.github.com/articles/dealing-with-line-endings/
1 parent 5396505 commit 9530919

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 behaviour, 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+
*.c text
7+
*.h text
8+
*.mo text
9+
*.mos text
10+
*.order text
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)