doc/user/project/repository/commits/_index.md
{{< details >}}
{{< /details >}}
The Commits list displays the commit history for your repository. Use it to browse code changes, view commit details, and verify commit signatures. You can filter the commit list by Git revision to see the changes for a specific revision.
The list shows:
To view your repository's commit history:
To view a commit's summary, select the Toggle commit description icon ({{< icon name="ellipsis_h" >}}). This summary does not display file changes or statistics.
Examine the specific changes made in any commit, including file modifications, additions, and deletions.
To view a commit's details:
The commit's details page shows:
To view all repository files and folders at a specific Git revision, such as a commit SHA, branch name, or tag:
You are directed to the repository page at that specific revision.
Filter and search the commit history to find specific changes or track work by particular authors.
To filter commits by a specific author:
If author filtering doesn't work for names with special characters, use the URL parameter format.
For example, append ?author=Elliot%20Stevens to the URL.
To filter commits by Git revision, such as branch, tag, or commit SHA:
To search for commits by message content:
You can also search by commit SHA, full or partial, to find a specific commit directly.
Apply changes from a specific commit to another.
Prerequisites:
To cherry-pick a commit:
GitLab creates a new commit on the target branch with the cherry-picked changes. If the branch is protected or you don't have the correct permissions, GitLab prompts you to create a new merge request.
Create a new commit that undoes changes from a previous commit.
Prerequisites:
To revert a commit:
GitLab creates a new commit that reverses the changes from the selected commit. If the branch is protected or you don't have the correct permissions, GitLab prompts you to create a new merge request.
To download a commit's diff contents:
GitLab verifies GPG, SSH, and X.509 signatures to ensure commit authenticity. Verified commits show a Verified badge.
For more information, see signed commits.
To view signature information:
The commit list includes a CI/CD pipeline status icon next to each commit. To view the pipeline details: