fix: change git clone --bare to git clone in create_worktree (fixes #57) #59

Merged
shoko merged 1 commits from fix/issue-57-worktree-creation into main 2026-04-01 02:59:43 +02:00
Showing only changes of commit 6ad51f3c0b - Show all commits

View File

@@ -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
}