From c644f5cf0c3fe950fd343ffa79347d3f5736d14f Mon Sep 17 00:00:00 2001 From: Eric-Butcher Date: Fri, 17 Jan 2025 14:30:02 -0500 Subject: [PATCH] Added gitattributes --- .gitattributes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7846885 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +# Specify that these filetypes will be checked out with LF on all platforms instead of CRLF +# This is necessary because we were having issues with people getting the docker-entrypoint.sh's +# working properly with docker compose when checked out on Windows without changing their git settings. +# As far as I'm aware there is no way to have git automatically detect text files on checkout in this +# configuration file so it has to be done manually. +*.py text eol=lf +*.js text eol=lf +*.html text eol=lf +*.md text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.toml text eol=lf +*.env text eol=lf +*.conf text eol=lf +*.sh text eol=lf +.flake8 text eol=lf +Dockerfile text eol=lf +Makefile text eol=lf \ No newline at end of file