Get exact Git commit
gh_get_commitRetrieve immutable commit details for a specific SHA from a GitHub repo, including tree, parents, author, committer, message, and verification metadata without altering the verification status.
Instructions
Read-only: return immutable identity and commit-object evidence for one exact 40-character commit SHA. The result includes the tree SHA, every parent SHA, author, committer, message, and GitHub's verification/signature metadata without reinterpreting or upgrading that verification state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name without the owner prefix. | |
| owner | Yes | GitHub repository owner or organization login. | |
| commit_sha | Yes | Exact 40-character hexadecimal Git commit SHA. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | ||
| author | No | ||
| message | No | ||
| parents | No | ||
| tree_sha | No | ||
| committer | No | ||
| commit_sha | Yes | ||
| verification | No |