diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..28f750cf --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Set default behavior to automatically normalize line endings +* text=auto + +# Python files should always use LF line endings +*.py text eol=lf + +# Shell scripts should always use LF line endings +*.sh text eol=lf + +# Markdown files should always use LF line endings +*.md text eol=lf + +# YAML files should always use LF line endings +*.yaml text eol=lf +*.yml text eol=lf + +# Binary files should not be modified +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary