Skip to content

Plugin always creates worktree from default branch #3

Description

@devashish2203

Since the plugin has no way of providing a --base when creating a worktree using wt switch. It always creates a worktree from the default branch. This makes it unusable for release branch/ hotfix branch workflows.

Instead of assuming the default branch. Detect the current git branch and explicitly pass --base

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions