Get commit
gitlab_get_commitRetrieve a commit's stats and optional diff by SHA, using project ID or path.
Instructions
One commit with stats and optionally its diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | Commit SHA, branch or tag | |
| max_chars | No | Diff truncation limit (default 40000) | |
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. | |
| include_diff | No | Include the commit diff |