a better version of gitattribute

This commit is contained in:
kevin-mindverse 2025-04-03 17:36:39 +08:00
parent 1c2c0dfdae
commit 584d5301e0

26
.gitattributes vendored
View file

@ -1,27 +1,5 @@
# Set default behavior to automatically normalize line endings # Set all text files to use LF line endings
* text=auto * text=auto eol=lf
# Force shell scripts to always use LF line endings
*.sh text eol=lf
# Force bash scripts to always use LF line endings
*.bash text eol=lf
# Force Python scripts to always use LF line endings
*.py text eol=lf
# Force Markdown files to always use LF line endings
*.md text eol=lf
# Force YAML files to always use LF line endings
*.yml text eol=lf
*.yaml text eol=lf
# Force JSON files to always use LF line endings
*.json text eol=lf
# Force JavaScript files to always use LF line endings
*.js text eol=lf
# Binary files should not be modified # Binary files should not be modified
*.png binary *.png binary