added .gitattributes

This commit is contained in:
Arthur Lu 2021-04-15 19:41:10 +00:00
parent 8977f8c277
commit 28e423942f

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