Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #23767
You need to sign in or sign up before continuing.
Closed
Open
Issue created Aug 21, 2018 by Hannes@hannes_m

Display source branch name in merge request sidebar

Problem to solve

When reviewing code changes, discussions, and commits in a merge request, it is often desirable to checkout the branch locally for a more in-depth review. However, finding the branch name becomes harder as more content is added to the merge request description as more scrolling is necessary.

The branch name has now been added to the merge request sidebar, making it easily accessible at all times and removing the need for scrolling. Just as the merge request reference, the source branch section provides a convenient "copy" button for easy local checkout.

Many thanks to Ethan Reesor for this great contribution.

Further details

The merge request view ("/merge_requests/51") should permanently show the corresponding remote branch name, even when working/scrolling through the discussion, the commits or the file changes.

Proposal

Show the branch name related to a merge request in the request view's right hand sidebar, where other related data is shown (assignee, participants, merge request URL etc.).

mockup

What does success look like, and how can we measure that?

Success: The user is able to copy the merge request's branch name, independently of where in "/merge_requests/51" she is scrolling to.

Links / references

(none)

Edited Sep 11, 2020 by Daniel Gruesso
Assignee
Assign to
Time tracking