From 6ad51f3c0b0a9984156098a30c5c562b501f518d Mon Sep 17 00:00:00 2001 From: shokollm <270575765+shokollm@users.noreply.github.com> Date: Wed, 1 Apr 2026 00:51:05 +0000 Subject: [PATCH] fix: change git clone --bare to git clone in create_worktree() Issue #57: worktree creation was creating bare repos instead of proper worktrees, breaking parallel agent workflow. The --bare flag created repos with no working directory, making them useless for development. Changed to regular clone. --- skills/kugetsu/scripts/kugetsu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/kugetsu/scripts/kugetsu b/skills/kugetsu/scripts/kugetsu index 387b158..a14be9b 100755 --- a/skills/kugetsu/scripts/kugetsu +++ b/skills/kugetsu/scripts/kugetsu @@ -208,7 +208,7 @@ create_worktree() { fi echo "Creating worktree at '$worktree_path'..." - git clone --bare "$repo_url" "$worktree_path" 2>/dev/null || { + git clone "$repo_url" "$worktree_path" 2>/dev/null || { echo "Error: Failed to clone repository" >&2 exit 1 }