From d5b7771a50608adab1e6c5d87755926196da2387 Mon Sep 17 00:00:00 2001 From: Gwyneth Pena-Siguenza Date: Sat, 13 Dec 2025 21:07:22 +0000 Subject: [PATCH] Add .gitattributes to fix line endings for Windows devcontainer users --- .gitattributes | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5e626c0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,30 @@ +# Auto-detect text files and normalize to LF in the repo +* text=auto + +# Shell scripts must use LF (they run in Linux containers/devcontainers) +*.sh text eol=lf +entrypoint.sh text eol=lf + +# Python files - LF is standard +*.py text eol=lf + +# Dockerfiles run in Linux +Dockerfile text eol=lf + +# Config files that might be used in containers +*.yaml text eol=lf +*.yml text eol=lf +*.json text eol=lf +*.toml text eol=lf +*.bicep text eol=lf + +# Windows scripts need CRLF +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Binary files +*.png binary +*.jpg binary +*.gif binary +*.ico binary