Files
KohakuHub/.gitattributes
Kohaku-Blueleaf 0f1c760e26 fix LF/CRLF
2025-10-08 22:08:50 +08:00

80 lines
1.2 KiB
Plaintext

# .gitattributes - Force LF line endings for consistency across platforms
# Default: Auto-detect text files and normalize to LF
* text=auto eol=lf
# Source code files
*.py text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.vue text eol=lf
*.jsx text eol=lf
*.tsx text eol=lf
*.html text eol=lf
*.css text eol=lf
*.scss text eol=lf
# Configuration files
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.toml text eol=lf
*.ini text eol=lf
*.conf text eol=lf
.env* text eol=lf
# Documentation
*.md text eol=lf
*.txt text eol=lf
*.rst text eol=lf
# Shell scripts
*.sh text eol=lf
*.bash text eol=lf
# Docker
Dockerfile text eol=lf
docker-compose.yml text eol=lf
.dockerignore text eol=lf
# Git
.gitignore text eol=lf
.gitattributes text eol=lf
# Binary files - do not modify line endings
*.bin binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary
# Images
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg binary
*.webp binary
# Model files
*.safetensors binary
*.ckpt binary
*.pt binary
*.pth binary
*.onnx binary
*.pb binary
# Archives
*.zip binary
*.tar binary
*.gz binary
*.bz2 binary
*.7z binary
*.rar binary
# Databases
*.db binary
*.sqlite binary
*.sqlite3 binary