lf will be replace by crlf修复

项目根路径创建.gitattributes
# 统一换行符处理配置
# 所有文本文件使用LF换行符
* text=auto eol=lf# 特定文件类型的换行符设置
*.py text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.json text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.toml text eol=lf
*.txt text eol=lf
*.html text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.xml text eol=lf
*.svg text eol=lf# 配置文件
*.config.* text eol=lf
.*rc text eol=lf
.*ignore text eol=lf# 二进制文件不进行换行符转换
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary# Windows批处理文件保持CRLF
*.bat text eol=crlf
*.cmd text eol=crlf# Shell脚本使用LF
*.sh text eol=lf