Skip to content

Allow selecting an existing remote branch when creating a new worktree #159

@zaphod4254

Description

@zaphod4254

The feature request

Currently, when creating a new worktree, GitHub Desktop Plus always creates a new local branch to go with it. In my case, I'm creating a worktree to work on another, existing branch from the cloud repository.

I create the new worktree, then have to select my other remote branch, but this also leaves the newly created local branch behind that I have to delete.

Proposed solution

When creating a new worktree, allow selecting an existing remote branch. Git itself allows this, and the Git worktree feature in VS Code also allows this.

Additional context

No response

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