Files
Linux-Server-Management-Too…/.gitignore
T
Developer df95500ab9 Fix: Remove cache files from git tracking and update .gitignore
CRITICAL FIX:
- Remove .sysref.beta and .sysref.beta.timestamp from git
- Remove data/suspicious-login-monitor/baseline.dat from git
- Add beta cache files to .gitignore
- Add runtime directories to .gitignore (config, data, logs, tmp)

PROBLEM FIXED:
- Cache files were being committed to git with stale data
- Users pulling dev would get old cached WordPress site list
- Cache wasn't clearing properly between pulls

SOLUTION:
- Cache files no longer tracked by git
- .gitignore prevents future commits of cache/runtime data
- Cache is auto-rebuilt when expired or on fresh checkout

IMPACT:
- Fresh clones will have empty cache (auto-rebuilds on first run)
- No more stale WordPress/domain/database listings
- Clean git history (runtime files removed)
2026-03-20 01:47:16 -04:00

66 lines
771 B
Plaintext

# Temporary files
/tmp/
*.tmp
*.swp
*.swo
*~
# Reference database (session data) - Production and Dev
.sysref
.sysref.timestamp
.sysref.beta
.sysref.beta.timestamp
# System-specific logs
*.log
# Backup files
*.bak
*.backup
# Reports (generated files)
*_report_*.txt
# IDE/Editor files
.vscode/
.idea/
*.code-workspace
# OS files
.DS_Store
Thumbs.db
# Runtime directories and cache
/modules/security/temp/
/modules/security/live-monitor-*/
/config/
/data/
/logs/
/tmp/
/backups/
/downloads/
# Credentials and keys (NEVER commit these)
*.key
*.pem
*.crt
*.p12
*.pfx
credentials.*
secrets.*
.env
.env.*
*.token
*.secret
# SSH keys
id_rsa
id_rsa.pub
id_ed25519
id_ed25519.pub
# Config files that might contain sensitive data
config.local.*
*.credentials
downloads/