From 1093e4a7fa176fadd61550c2a9bf9491f553e11b Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 5 Nov 2026 11:22:45 +0100 Subject: [PATCH] fix: keep the branch binding in the gitsync-settings override refusal hint Co-Authored-By: Claude Opus 5.5 --- cli/src/commands/gitsync-settings/pull.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/commands/gitsync-settings/pull.ts b/cli/src/commands/gitsync-settings/pull.ts index ad7becf59a..c46bf7bfe2 100644 --- a/cli/src/commands/gitsync-settings/pull.ts +++ b/cli/src/commands/gitsync-settings/pull.ts @@ -460,7 +460,7 @@ export async function pullGitSyncSettings( if (taken.length > 0) { throw new Error( `No workspace entry in wmill.yaml matches workspace '${workspace.workspaceId}', and git branch '${currentBranch}' is already used by ${taken.join(", ")}. ` + - `Name the entry for this workspace '${workspace.workspaceId}' so it can be resolved.`, + `Name the entry for this workspace '${workspace.workspaceId}' and keep 'gitBranch: ${currentBranch}' on it so it can be resolved.`, ); } overrideTarget = currentBranch;