Add .gitattributes

This commit is contained in:
Slava 2024-11-08 12:10:37 +02:00
parent 25dcb87d78
commit 42f47eb2f8
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8

9
.gitattributes vendored Normal file
View File

@ -0,0 +1,9 @@
# 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