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)
This commit is contained in:
+10
-2
@@ -5,9 +5,11 @@
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Reference database (session data)
|
||||
# Reference database (session data) - Production and Dev
|
||||
.sysref
|
||||
.sysref.timestamp
|
||||
.sysref.beta
|
||||
.sysref.beta.timestamp
|
||||
|
||||
# System-specific logs
|
||||
*.log
|
||||
@@ -28,9 +30,15 @@
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Runtime directories
|
||||
# Runtime directories and cache
|
||||
/modules/security/temp/
|
||||
/modules/security/live-monitor-*/
|
||||
/config/
|
||||
/data/
|
||||
/logs/
|
||||
/tmp/
|
||||
/backups/
|
||||
/downloads/
|
||||
|
||||
# Credentials and keys (NEVER commit these)
|
||||
*.key
|
||||
|
||||
Reference in New Issue
Block a user