diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f10b4a3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +# 统一行尾为 LF:Windows / WSL 共享同一仓库时防止行尾伪差异 +* text=auto eol=lf + +# 二进制文件不做任何转换 +*.png binary +*.jpg binary +*.gif binary +*.ico binary