chore: add line-ending to gitattribute

pull/194/head
Amin Yahyaabadi 2020-09-03 13:50:50 -05:00
parent a83bf51129
commit 63fffe4411
1 changed files with 4 additions and 0 deletions

4
.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
# Set default behavior to automatically normalize line endings, and force everything to be LF, except for Windows batch files that require CRLF, so that if a repo is accessed in Unix via a file share from Windows, the scripts will work.
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf