Files
GVSite/.gitattributes
TermiNexus 7516af5f4a chore: 新增 .gitattributes 统一换行符
默认入库 LF、Windows 脚本 CRLF、常见二进制不做转换;顺带 renormalize 了 3 个此前以 CRLF 入库的文件(cookie.css / gvsds-page.css / MembersView.vue)。
2026-09-28 17:47:19 +08:00

19 lines
424 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 默认:入库统一 LF,检出时不因平台改变(避免 CRLF 噪音 diff)
* text=auto eol=lf
# Windows 脚本保持 CRLF(deploy.ps1 带 UTF-8 BOM,勿去 BOM:PS 5.1 靠它识别 UTF-8)
*.ps1 text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# 二进制:不做换行符转换
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.woff binary
*.woff2 binary
*.ttf binary