Skip to content

Swap position of checkout-commit and checkout-branch menu items #4237

@jesseduffield

Description

@jesseduffield

We recently added a new option to check out a commit's branch from within the commits, reflog, and sub-commits panels:

Image

After using it for some time, I find it annoying that the default option has changed. I rarely find myself wanting to check out a branch from the commits panel, and it's rarer still to want to check out a branch from the reflog and sub-commits panel. Although there may be use cases for this, it is jarring that something you can always do (checkout the commit) is harder to do than something that you can sometimes do (checkout the branch).

We've also had a user complain about their muscle-memory being broken by the recent change, and I have also fallen victim to this. I don't think that the new branch checkout option is sufficiently useful to dislodge the existing keybinding, so let's swap them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocks-releaseMust be addressed before we can cut the next releaseenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions