gitlab_get_commit
Retrieve detailed commit information, including message, author, committer, parent SHAs, and optional stats (additions/deletions), using a commit SHA. Supports GPG signature verification for secure repository operations.
Instructions
Get full details of a specific commit by SHA including message, author, committer, parent SHAs, stats (additions/deletions), and GPG signature verification status.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commit_sha | Yes | Git commit SHA (string). Can be abbreviated (min 7 chars) or full 40-character SHA | |
include_stats | No | Include commit statistics (boolean). Adds additions/deletions/total change counts. Default: false | |
project_id | No | Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided |