a better version of gitattribute

This commit is contained in:
kevin-mindverse 2025-04-03 17:36:39 +08:00
parent 1c2c0dfdae
commit 584d5301e0
1 changed files with 2 additions and 24 deletions

26
.gitattributes vendored
View File

@ -1,27 +1,5 @@
# Set default behavior to automatically normalize line endings
* text=auto
# 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
# Set all text files to use LF line endings
* text=auto eol=lf
# Binary files should not be modified
*.png binary