add .gitattributes

This commit is contained in:
Thomas Bernard 2018-05-07 16:41:25 +02:00
parent 98e4c6ff87
commit a995bc37b4

20
.gitattributes vendored Normal file
View File

@ -0,0 +1,20 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text
*.txt text
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.msi text eol=crlf
*.vbs text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.gif binary
*.dll binary