Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !5340

Merged
Created Oct 15, 2013 by Administrator@rootOwner

Show branches list (which branches contains commit) on commit page

  • Overview 26
  • Commits 1
  • Changes 5

Created by: zzet

Shown in the first screenshot: commit-box when the page loads

it looks like commit-box when the page loads.

For example: In any project there default_branch ( branch defaults to the first commit to the repository and can be changed later in the project settings ). If a commit in a branch that is set as the "default branch" - that is displayed:

"Exist in default branch, and in other branches count branch(es)".

What stood out in the text so - a links . When you click on and in other branches count branch(es) - immediately displays a list of links to other branches on the spot phrase and in other_branches_count branch(es).

commit-box when the page loads

If the default branch is not contains commit in - then the first branch from the list of branches, which include a commit displayed in place default branch.

Refs to http://feedback.gitlab.com/forums/176466-general/suggestions/4164763-show-which-branches-contain-a-commit

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/Undev/feature/branches_on_commit_page_pr