chore: 添加 .gitattributes 统一行尾为 LF

仓库从 Windows 迁移至 WSL,通过 text=auto eol=lf 强制两端
检出/提交均使用 LF,消除跨平台行尾伪差异;二进制文件显式声明不转换
This commit is contained in:
2026-09-08 09:23:31 +08:00
parent 20fa8f4d5a
commit 64cc3ec381
+8
View File
@@ -0,0 +1,8 @@
# 统一行尾为 LF:Windows / WSL 共享同一仓库时防止行尾伪差异
* text=auto eol=lf
# 二进制文件不做任何转换
*.png binary
*.jpg binary
*.gif binary
*.ico binary