From: Jakub Czajka Date: Sun, 22 Nov 2026 14:50:54 +0000 (+0000) Subject: [ai] Base worktrees on origin instead of HEAD. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=b5aa764c3d21fb0849b2c0102f46400c93fba5ee;p=guix.git [ai] Base worktrees on origin instead of HEAD. With baseRef "head", a new worktree branches from the local HEAD. If the local HEAD is unborn or cannot be read, git worktree add has no commit to branch from and worktree creation deadlocks. Use "fresh" so new worktrees branch from origin's default branch, which is present even when the local HEAD is not. --- diff --git a/.claude/settings.json b/.claude/settings.json index 099447f..d186f44 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -4,7 +4,7 @@ "PROFILE": "nonfree" }, "worktree": { - "baseRef": "head" + "baseRef": "fresh" }, "statusLine": { "type": "command",