gitlab-org--gitlab-foss/doc/user/project/merge_requests/commits.md

1.0 KiB

stage group info type
Create Code Review To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments index, reference

Commits tab in merge requests (FREE)

The Commits tab in a merge request displays a sequential list of commits to the Git branch your merge request is based on. From this page, you can review full commit messages and copy a commit's SHA when you need to cherry-pick changes.

Merge requests commit navigation

Introduced in GitLab 13.0.

To seamlessly navigate among commits in a merge request:

  1. Select the Commits tab.

  2. Select a commit to open it in the single-commit view.

  3. Navigate through the commits by either:

    • Selecting Prev and Next buttons below the tab buttons.
    • Using the X and C keyboard shortcuts.

Merge requests commit navigation