Merge pull request 'fix: change git clone --bare to git clone in create_worktree (fixes #57)' (#59) from fix/issue-57-worktree-creation into main

This commit was merged in pull request #59.
This commit is contained in:
2026-04-01 02:59:43 +02:00

View File

@@ -208,7 +208,7 @@ create_worktree() {
fi fi
echo "Creating worktree at '$worktree_path'..." 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 echo "Error: Failed to clone repository" >&2
exit 1 exit 1
} }