--- id: 9d18fe1c-ec20-4c6b-ac66-f0a646da329d type: insight title: "Check for production hotfixes before deploying" tags: [ai-assistant, deployment, git, workflow] importance: 0.5 confidence: 0.8 created: "2026-02-13T21:09:00.334298+00:00" updated: "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).