Files
Kizuno18andharry0703 5c660b574e chore: add .gitattributes for line-ending normalization
Without a .gitattributes, contributors on Windows can commit CRLF
line endings depending on their core.autocrlf setting, which shows
up as whole-file diffs. Mark all text files with text=auto and tag
the binary assets (audio, video, images, fonts) explicitly so Git
never tries to normalize them.
2026-07-13 10:34:03 +08:00

17 lines
259 B
Plaintext

# Auto detect text files and normalize line endings in the repository
* text=auto
# Binary assets
*.mp3 binary
*.mp4 binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.ttf binary
*.ttc binary
*.otf binary
*.woff binary
*.woff2 binary