Skip to content

switch: toggle "--all" flag at runtime using "a" key #5624

@kevgo

Description

@kevgo

I use multiple machines for development. Quite often, I want to switch to a branch I worked on the day before, so I run git town switch. When I don't see the branch in the list of local branches, I realize I worked on it on another machine.

At that point, I have to hit ESC to quit and rerun the command with the --all flag: git town switch --all.

It would be great if I could toggle "show all branches" on and off directly within the interactive UI by pressing a key, for example, a. That key doesn't currently have a function. This would remove a point of friction I encounter regularly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions