From 32775ef83ff59eb7cd97b23ba6bc2bbd8ea0d3a5 Mon Sep 17 00:00:00 2001 From: Mischa Date: Sun, 21 Jun 2026 16:25:12 +0200 Subject: [PATCH] fix: remote-fetch switches to main branch before pulling Server clone was tracking experimental-polar-steps; checkout main ensures it follows the correct branch going forward. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b218ec1..b0290b7 100644 --- a/Makefile +++ b/Makefile @@ -105,7 +105,7 @@ remote-install: # ── Remote: ongoing maintenance ──────────────────────────────────────────────── remote-fetch: - $(SSH) "git -C $(SITE_CONFIG_DIR) pull" + $(SSH) "git -C $(SITE_CONFIG_DIR) checkout main && git -C $(SITE_CONFIG_DIR) pull" remote-install-plugins: $(SSH) "cd $(WEBROOT) && php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y"