Skip to content

Show default branch on Branches list

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Display the default branch separately from the list of active and stale branches in the Overview tab on the Branches page.

Current Proposal
gitlab.com_gitlab-org_gitlab-services_design.gitlab.com_-branches__1 gitlab.com_gitlab-org_gitlab-services_design.gitlab.com_-_branches

Should we show the default branch on the branches list? I think 99% of git users have a concept of a "default" branch, and int GitLab we utilise this to improve the workflow when opening merge requests. The default branch is also automatically protected and used as the scope for issue closing. https://docs.gitlab.com/ee/user/project/repository/branches/#default-branch

What about protected branches?

Protected branches are managed by branch rules. We will need to split up the feature to displaying all of the protected branches to see if it is something that is needed after the introduction of branch rules.

Main concern of displaying all of the protected branches is that this is could be a very long list and if you are concerned about a particular branch's settings that is something we are looking into with Display summary of resolved branch rules for a ... (#393142 - closed)

Edited by 🤖 GitLab Bot 🤖