added .gitattributes

Former-commit-id: 64cb232565
This commit is contained in:
Arthur Lu 2021-04-15 19:41:10 +00:00
parent a367e7254b
commit d16ef53457

4
.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
# Auto detect text files and perform LF normalization
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf