Add .gitattributes

This commit is contained in:
Slava 2024-10-08 13:19:48 +03:00
parent 23bd288279
commit a54735d49c
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8

11
.gitattributes vendored Normal file
View File

@ -0,0 +1,11 @@
# Set default behavior to automatically normalize line endings.
* text=auto
# Force bash scripts to always use lf line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf
# Likewise, force cmd and batch scripts to always use crlf
*.cmd text eol=crlf
*.bat text eol=crlf