add .gitattributes

This commit is contained in:
Howard Wu 2022-12-15 16:10:00 +08:00 • committed by Nullptr
commit c68f0c65a7

12
.gitattributes vendored Normal file
View file

@ -0,0 +1,12 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto eol=lf
# Declare files that will always have CRLF line endings on checkout.
*.cmd text eol=crlf
*.bat text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.so binary
*.dex binary
*.jar binary
*.png binary