Skip to content

Show remote branches in git-switch completion #1980

@hstandaert

Description

@hstandaert

Discord username (optional)

No response

Describe the solution you'd like?

Display remote branches in the completion list for [git-switch](https://git-scm.com/docs/git-switch) in the `<remote>/<branch>` format.

Is your feature request related to a problem? Please describe.

I noticed that remote branches are only displayed in the completion for [git-checkout](https://git-scm.com/docs/git-checkout), yet this functionality is also available in [git-switch](https://git-scm.com/docs/git-switch).

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:completionsStandard shell completions, argument completions, and path completion.enhancementNew feature or request.triagedIssue has received an initial automated triage pass.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions