mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-21 12:16:54 +02:00
Jesse's comment from https://github.com/jesseduffield/lazygit/issues/4237: We recently added a new option to check out a commit's branch from within the commits, reflog, and sub-commits panels: https://github.com/user-attachments/assets/0a5cf3f2-6803-4709-ae5a-e4addc061012 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 (see https://github.com/jesseduffield/lazygit/pull/4117) 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.