chore: 初始化项目仓库

- 添加 .gitattributes,统一文本文件行尾为 LF
- 添加 .gitignore,忽略系统文件、IDE 配置与敏感环境变量
This commit is contained in:
2026-09-09 00:38:37 +08:00
commit b19d8693c1
2 changed files with 30 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# 将所有文件的行尾统一为 LF
* text=auto eol=lf
# Windows 批处理脚本保持 CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
# 常见二进制文件不做行尾转换
*.png binary
*.jpg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.gz binary