diff options
| author | matt korwel <[email protected]> | 2025-06-22 23:58:41 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-23 06:58:41 +0000 |
| commit | d0800ab9177bf522555e25047629635dd15190b0 (patch) | |
| tree | 8c2d75da04a8efc4c54baa0148bd743b698b88d5 | |
| parent | 99d521569d392e660f8dbbb9a50cad9c9062b75b (diff) | |
Adding .gitattributes (#1303)
| -rw-r--r-- | .gitattributes | 24 |
1 files changed, 24 insertions, 0 deletions
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 |
