Skip to content

Create a worktree for an existing branch with a /? #105

@9999years

Description

@9999years

If you want to create a worktree for a new branch with a / in it, you can do git prole add -b puppy/doggy, but if a puppy/doggy branch already exists, it errors out.

If you do git prole add puppy/doggy then doggy is used as the branch name.

If you do git prole add -B puppy/doggy, then the puppy/doggy branch is reset to the default branch.

Make it better!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions