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