Get Commit
deprecated
Resolve a branch name, short SHA, or full SHA to a commit and return the same metadata shape used in commit listings. Use this when you need commit details without computing a diff.
JWT claims
Required scopes: git:read
Requires per repo scope: Yes
Deprecated: Use /api/repos/{repo_name}/commit instead.
GET
Get Commit
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Commit SHA, short SHA, branch name, or other revision Git can resolve.
Response
Commit metadata for the resolved revision.
Commit metadata for a single resolved revision, without diff content.
Resolved commit metadata.
Previous
Commit PackCreate a commit by streaming file operations directly to the service. This is designed for automation, AI agents, and other workflows that need atomic Git writes without running a local Git process.
#### JWT claims
Required scopes: `git:write`
Requires per repo scope: Yes
Deprecated: Use `/api/repos/{repo_name}/commit-pack` instead.
Next
Get Commit