slapperwan/gh4a — Issue #53: Set branch to default branch - don't make the user always choose
Author: suan
Created: 2011-10-26 06:37:31+00:00
State: open

On a project's home page, I suggest setting the branch to the repo's default branch. Then you could have a "commits" and "tree" links right on the main page, or perhaps even have the file list right there (collapsable accordion-style), and have a "switch branch" link or menu option instead to switch between branches. 90% of the time people are only interested in the default branch, and having the user explicitly select a branch before he/she can view code is pretty suboptimal.