- Added backend/uploads/ to .gitignore - Removed 171 test files from Git tracking (--cached, local files preserved) - Tool B: ~20 test files - Tool C: ~150 test files - Local files are safe and not deleted - This prevents future commits from tracking uploaded user files
129 lines
1.2 KiB
Plaintext
129 lines
1.2 KiB
Plaintext
# Dependencies
|
||
node_modules/
|
||
.pnp
|
||
.pnp.js
|
||
|
||
# Testing
|
||
coverage/
|
||
|
||
# Production
|
||
build/
|
||
dist/
|
||
|
||
# Environment variables
|
||
.env
|
||
.env.local
|
||
.env.development.local
|
||
.env.test.local
|
||
.env.production.local
|
||
|
||
# IDE
|
||
.vscode/
|
||
.idea/
|
||
*.swp
|
||
*.swo
|
||
*~
|
||
|
||
# OS
|
||
.DS_Store
|
||
Thumbs.db
|
||
|
||
# Logs
|
||
logs/
|
||
*.log
|
||
npm-debug.log*
|
||
yarn-debug.log*
|
||
yarn-error.log*
|
||
|
||
# Docker
|
||
docker-compose.override.yml
|
||
|
||
# Prisma
|
||
prisma/.env
|
||
*.db
|
||
*.db-journal
|
||
|
||
# Temporary files
|
||
tmp/
|
||
temp/
|
||
*.tmp
|
||
|
||
# Backend uploads (用户上传的文件,不应提交到Git)
|
||
backend/uploads/
|
||
|
||
# ==================== Python ====================
|
||
# Virtual environments (重要!避免提交 2+ GB 的依赖)
|
||
venv/
|
||
env/
|
||
.venv/
|
||
ENV/
|
||
env.bak/
|
||
venv.bak/
|
||
|
||
# Python cache
|
||
__pycache__/
|
||
*.py[cod]
|
||
*$py.class
|
||
*.so
|
||
.Python
|
||
|
||
# PyInstaller
|
||
*.manifest
|
||
*.spec
|
||
|
||
# Jupyter Notebook
|
||
.ipynb_checkpoints
|
||
|
||
# pyenv
|
||
.python-version
|
||
|
||
# Celery
|
||
celerybeat-schedule
|
||
celerybeat.pid
|
||
|
||
# Environments
|
||
.env
|
||
.venv
|
||
|
||
# Distribution / packaging
|
||
.Python
|
||
build/
|
||
develop-eggs/
|
||
dist/
|
||
downloads/
|
||
eggs/
|
||
.eggs/
|
||
lib/
|
||
lib64/
|
||
parts/
|
||
sdist/
|
||
var/
|
||
wheels/
|
||
*.egg-info/
|
||
.installed.cfg
|
||
*.egg
|
||
|
||
# Unit test / coverage
|
||
htmlcov/
|
||
.tox/
|
||
.coverage
|
||
.coverage.*
|
||
.cache
|
||
nosetests.xml
|
||
coverage.xml
|
||
*.cover
|
||
|
||
# mypy
|
||
.mypy_cache/
|
||
.dmypy.json
|
||
dmypy.json
|
||
|
||
# Pyre
|
||
.pyre/
|
||
|
||
# pytype
|
||
.pytype/
|
||
|
||
# Cython
|
||
cython_debug/
|