更新.gitignore,添加更多需要忽略的文件类型

This commit is contained in:
cc 2025-04-09 22:57:29 +08:00
parent e43a693a6e
commit f7fc2147b2

32
.gitignore vendored
View File

@ -3,35 +3,65 @@
.vscode/
*.swp
*.swo
*.sublime-*
# 构建输出
.hvigor/
build/
dist/
.preview/
out/
release/
# 依赖目录
node_modules/
oh_modules/
# 日志文件
*.log
npm-debug.log*
build.log
*.log.*
# 系统文件
.DS_Store
Thumbs.db
desktop.ini
# 临时文件
*.tmp
*.temp
*.bak
*.cache
*.temp.*
# 测试文件
*_test.md
*_test.js
*_test.ets
classroom_test.md
test/
tests/
# 文档文件
*.md
!README.md
docs/
*.doc
*.docx
*.pdf
# 配置文件
*.config.js
api-*.js
server.js
*.env
.env.*
# 其他
server.js
*.zip
*.rar
*.7z
*.tar
*.gz
*.tgz