fzd3 / .gitattributes
fdbw's picture
Update .gitattributes
b4fd482 verified
Raw
History Blame Contribute Delete
946 Bytes
# 自动检测文本文件,规范化换行符
* text=auto
# 源代码文件
*.py text diff=python
*.js text
*.html text
*.css text
*.json text
*.yaml text
*.yml text
*.toml text
# 配置文件
*.txt text
*.md text diff=markdown
*.rst text
*.sh text eol=lf
*.bat text eol=crlf
# 依赖文件
requirements.txt text
Pipfile text
Pipfile.lock text
pyproject.toml text
# 忽略文件
.gitignore text
.gitattributes text
.dockerignore text
# 二进制文件(不转换换行符)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.mp3 binary
*.wav binary
*.mp4 binary
*.mov binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.whl binary
*.pyc binary
*.pyd binary
*.so binary
*.dll binary
*.exe binary
# Hugging Face 特定
*.safetensors binary
*.bin binary
*.pt binary
*.pth binary
*.onnx binary
*.pb binary
*.h5 binary
*.keras binary
*.ckpt binary
# 模型文件
*.model binary
*.weights binary
*.params binary