chore: 添加 .gitattributes 文件以配置文本和二进制文件处理
All checks were successful
/ depcheck (push) Successful in 1m33s
/ build-and-deploy-to-vercel (push) Successful in 1m57s
/ playwright (push) Successful in 2m52s

This commit is contained in:
严浩
2024-10-17 09:14:56 +08:00
parent 23fbb10a3c
commit a5ec941074

35
.gitattributes vendored Normal file
View File

@ -0,0 +1,35 @@
* text=auto
# Force the following filetypes to have unix eols, so Windows does not break them
*.* text eol=lf
# Separate configuration for files without suffix
LICENSE text eol=lf
Dockerfile text eol=lf
pre-commit text eol=lf
commit-msg text eol=lf
# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.ico binary
*.jpg binary
*.jpeg binary
*.png binary
*.pdf binary
*.doc binary
*.docx binary
*.ppt binary
*.pptx binary
*.xls binary
*.xlsx binary
*.exe binary
*.jar binary
*.ttf binary
*.woff binary
*.woff2 binary
*.eot binary
*.otf binary
# Add more binary...