# Auto detect text files and perform LF normalization * text=auto eol=lf # Explicitly declare text files *.py text diff=python *.md text *.txt text *.json text *.yml text *.yaml text *.toml text *.ini text *.cfg text # Declare binary files *.png binary *.jpg binary *.jpeg binary *.gif binary *.pdf binary *.safetensors binary *.bin binary *.pth binary # Large files should use Git LFS if needed *.safetensors filter=lfs diff=lfs merge=lfs -text *.bin filter=lfs diff=lfs merge=lfs -text *.pth filter=lfs diff=lfs merge=lfs -text