fix(env): add .gitattributes to automatically change Windows-style line endings (CRLF) to Unix-style line endings (LF)
This commit is contained in:
8
.gitattributes
vendored
Normal file
8
.gitattributes
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
||||
|
||||
# Explicitly declare text files you want to always be normalized and converted to LF on checkout.
|
||||
*.sh text eol=lf
|
||||
*.env text eol=lf
|
||||
.env.example text eol=lf
|
||||
docker-compose.yml text eol=lf
|
||||
Reference in New Issue
Block a user