ЛР7: .gitattributes — LF для скриптов и конфигов
Стенд запускается на Windows (Git Bash + Docker Desktop); CRLF в *.sh ломает shebang и `sh scripts/up.sh`. Co-Authored-By: O3 Agent Claude <noreply@ozon.ru>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Lab7 запускается и на macOS, и на Windows (Git Bash + Docker Desktop).
|
||||
# Скрипты обязаны оставаться с LF: CRLF ломает `sh scripts/*.sh` и shebang.
|
||||
* text=auto eol=lf
|
||||
*.sh text eol=lf
|
||||
*.py text eol=lf
|
||||
*.yaml text eol=lf
|
||||
*.yml text eol=lf
|
||||
*.conf text eol=lf
|
||||
*.hcl text eol=lf
|
||||
*.sql text eol=lf
|
||||
Dockerfile text eol=lf
|
||||
Makefile text eol=lf
|
||||
Reference in New Issue
Block a user