Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort remote branches #1267

Closed
Jayphen opened this issue Apr 13, 2021 · 4 comments
Closed

Sort remote branches #1267

Jayphen opened this issue Apr 13, 2021 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Jayphen
Copy link

Jayphen commented Apr 13, 2021

I often like to check out branches that my colleagues are working on to give feedback or assist. At the moment, it seems that the Remotes tab sorts all branches alphabetically, which is only useful if you know the name of the branch you're seeking.

It would be great to have some sorting options here - created, last modified, alpha for example.

@Jayphen Jayphen added the enhancement New feature or request label Apr 13, 2021
@Holi0317
Copy link

As a user, I think I will change the sort criteria often. Sometimes I would want to checkout a release branch (where sort by name makes the most sense) while other time I may want to check other's PR (where sort by last modified makes sense).

I think the sort option should have an key-binding to it instead of being a config option.

@jesseduffield
Copy link
Owner

We've implemented sorting for local branches now so it should be pretty easy to copy what we're doing there and apply it to the remote branches view too. I'll put a 'good first issue' label on this. Let me know if either of you are up for implementing this @Jayphen @Holi0317

@jesseduffield jesseduffield added the good first issue Good for newcomers label Jan 29, 2024
@stefanhaller
Copy link
Collaborator

Erm, sorting remote branches was implemented in #3171. 😄

@jesseduffield
Copy link
Owner

Ah yes, the easiest feature to implement is the one that's already implemented haha. Good work everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants