- 新增 .gitignore:忽略备份、临时文件、IDE配置等 - 创建 backups/ 目录:存放数据库备份 - 创建 tools/ 目录:存放实用脚本(reset_passwords.py) - 移动文件到相应目录 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
71 lines
685 B
Plaintext
71 lines
685 B
Plaintext
# === 操作系统 ===
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# === 备份文件 ===
|
|
backups/
|
|
*.sql
|
|
*.db
|
|
|
|
# === IDE 和编辑器 ===
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.project
|
|
.classpath
|
|
.settings/
|
|
|
|
# === Python ===
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.pyd
|
|
.Python
|
|
venv/
|
|
env/
|
|
ENV/
|
|
|
|
# === Node.js ===
|
|
node_modules/
|
|
dist/
|
|
build/
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
package-lock.json
|
|
|
|
# === Java ===
|
|
target/
|
|
*.class
|
|
*.jar
|
|
*.war
|
|
*.ear
|
|
|
|
# === 测试结果 ===
|
|
screenshots/
|
|
*.png
|
|
*.webm
|
|
test-results/
|
|
playwright-report/
|
|
|
|
# === 临时文件 ===
|
|
*.tmp
|
|
*.temp
|
|
*.bak
|
|
*.swp
|
|
.cache/
|
|
|
|
# === 上传文件 ===
|
|
uploads/
|
|
|
|
# === 文档生成 ===
|
|
docs/node_modules/
|