Skip to content
Discussion options

You must be logged in to vote

GitHub recently changed the branch selection dropdown in the web UI to sort by “most recently updated” rather than alphabetically, except for the default branch, which stays at the top. Unfortunately, you currently cannot change this behavior back to alphabetical — GitHub does not provide a user setting for it.

Here's what you can do:
Workaround: Use the “View all branches” link at the bottom of the dropdown — that page still offers search and some sorting options.

Feedback: You can request the feature back via GitHub Feedback Discussions.

GitHub CLI: If you use many branches often, consider using the GitHub CLI to list and checkout branches with sorting flexibility.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@kesslari
Comment options

@ronwarner-mxh
Comment options

Answer selected by kesslari
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General General topics and discussions that don't fit into other categories, but are related to GitHub Question Ask and answer questions about GitHub features and usage
5 participants