claude-memory/graph/insights/check-for-production-hotfixes-before-deploying-9d18fe.md

637 B

id type title tags importance confidence created updated
9d18fe1c-ec20-4c6b-ac66-f0a646da329d insight Check for production hotfixes before deploying
ai-assistant
deployment
git
workflow
0.5 0.8 2026-02-13T21:09:00.334298+00:00 2026-02-13T21:09:00.334298+00:00

Production servers may have local commits (hotfixes) not pushed to the remote repo. Before deploying, check git log on production vs origin to detect divergence. Found this when ai-pm had a config.py logger import fix that wasn't in Gitea. Use git pull --rebase to cleanly stack changes. Also check for unstaged changes (git stash first if needed).