fix: make update stashes runtime config before pull to avoid merge conflicts

Runtime config files exist on disk but are now gitignored. A bare git pull
conflicts with them. Stash (including untracked) before pulling and pop after.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-29 09:10:00 -04:00
parent caadcaf5c9
commit 10eac1fda1
+2
View File
@@ -127,7 +127,9 @@ shell-%:
update: update:
@echo "Pulling latest code..." @echo "Pulling latest code..."
@git stash --include-untracked --quiet 2>/dev/null || true
git pull git pull
@git stash pop --quiet 2>/dev/null || true
@if [ ! -f config/mail/mailserver.env ]; then \ @if [ ! -f config/mail/mailserver.env ]; then \
echo "Config missing — running setup first..."; \ echo "Config missing — running setup first..."; \
$(MAKE) setup; \ $(MAKE) setup; \