gitlab_get_commit_diff
Retrieve the full diff of changes from a specific GitLab commit, showing modified files with added and removed lines, aiding in thorough code review and project management.
Instructions
Get the complete diff of changes introduced by a commit. Returns modified files with full diff content showing added/removed lines. Useful for code review.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
commit_sha | Yes | Commit SHA | |
project_id | No | Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided |