From 42010e12092b39a3c1d9a6424b8d854b454123bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=BE=D0=BB=D0=B8=D0=BA=D0=BE=D0=B2=20Maximillian?= =?UTF-8?q?=20=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= Date: Thu, 22 Oct 2026 19:42:03 +0300 Subject: [PATCH] chore(git):lab4 enforce LF for shell, Dockerfile, YAML --- .gitattributes | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4adaa80 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,16 @@ +# Контейнеры Linux; shell-скрипты, Dockerfile, конфиги nginx/yaml +# должны иметь LF независимо от core.autocrlf на стороне разработчика. +*.sh text eol=lf +*.bash text eol=lf +Dockerfile text eol=lf +Dockerfile.* text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.go text eol=lf +*.sql text eol=lf +*.md text eol=lf +*.conf text eol=lf + +# Windows-специфичные - CRLF +*.bat text eol=crlf +*.cmd text eol=crlf \ No newline at end of file