# 跨平台统一:仓库内文本一律以 LF 存储(避免 Windows CRLF 污染 Linux 服务器, # 尤其 shell 脚本 CRLF 会导致 `bad interpreter` 等错误)。 * text=auto eol=lf # 明确二进制,git 不做行尾转换。 *.svg text eol=lf *.png binary *.jpg binary *.ico binary