Add gitattributes

This commit is contained in:
SWHL committed 2022-07-25 22:41:49 +08:00
1 parent a16a11ac37
commit f51d7993a4
1 file changed
+19
+19
View File
@@ -0,0 +1,19 @@
# 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
*.py text
*.md text
*.js text
*.cpp text
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.pdf binary