From d0800ab9177bf522555e25047629635dd15190b0 Mon Sep 17 00:00:00 2001 From: matt korwel Date: Sun, 22 Jun 2025 23:58:41 -0700 Subject: [PATCH] Adding .gitattributes (#1303) --- .gitattributes | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..deab5ae8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +# Set the default behavior for all files to automatically handle line endings. +# This will ensure that all text files are normalized to use LF (line feed) +# line endings in the repository, which helps prevent cross-platform issues. +* text=auto eol=lf + +# Explicitly declare files that must have LF line endings for proper execution +# on Unix-like systems. +*.sh eol=lf +*.bash eol=lf +Makefile eol=lf + +# Explicitly declare binary file types to prevent Git from attempting to +# normalize their line endings. +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.pdf binary +*.woff binary +*.woff2 binary +*.eot binary +*.ttf binary +*.otf binary