3b4a680326
backend/.env war seit "first commit" getrackt (mit echten Secrets: JWT_SECRET, ENCRYPTION_KEY, DB-Password). Das Pattern .env war zwar in .gitignore, wirkte aber nicht rückwirkend. - git rm --cached backend/.env (Datei bleibt lokal) - backend/.gitignore + frontend/.gitignore: explizite !.env.example Whitelist zur Klarstellung - Neue Root-.gitignore mit gemeinsamen Patterns (Env, OS, IDE, Logs) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
30 lines
275 B
Plaintext
30 lines
275 B
Plaintext
# Dependencies
|
||
node_modules/
|
||
|
||
# Build
|
||
dist/
|
||
dist-ssr/
|
||
|
||
# Environment – echte Secrets blocken, .env.example weiter mittracken
|
||
.env
|
||
.env.local
|
||
.env.*.local
|
||
!.env.example
|
||
|
||
# Logs
|
||
*.log
|
||
npm-debug.log*
|
||
|
||
# IDE
|
||
.idea/
|
||
.vscode/
|
||
*.swp
|
||
*.swo
|
||
|
||
# OS
|
||
.DS_Store
|
||
Thumbs.db
|
||
|
||
# Vite
|
||
.vite/
|