jesseduffield / jesseduffield/lazygit

Manually (re)ordering the branches list

Open
#4,065 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

Hey team,
This might be an odd request, I'm not sure if I'm the only one having this OCD.

But when working on a bigger feature, that will consist of multiple PRs, I tend to branch a lot. (You don't say, I know I know)
But also, it would happen that I jump to a whole other context and different feature, that also might have multiple branches. Even if its a single branch bugfix.
It ends up in a not sorted list of branches in a way.

For example, I have branch-1, branch-2, branch-3. But then I start jumping around, just checking them out. Maybe to just sync with the base branch. And it ends up in branch-3, branch-1, branch-2. No biggie I know. Solvable by just checking them out in the correct order.

Why I like having them sorted? So I don't mix up by accident on where I have left off. Sometimes they can have a bit of similar names.

So, the proposal is, if possible to manually sort them? Literally moving arrow-up/down and ordering them in the desired order.

If this makes sense at all, I can also try to take it up myself.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.