Get Commits
bitbucket_get_commitsRetrieve commits from a Bitbucket repository with filters for date range, file path, and pagination. Lists commits in reverse chronological order.
Instructions
Get commits for a repository.
Lists commits in reverse chronological order. Use since/until to specify
a commit range (like git log since..until). Use path to only show commits
that modified a specific file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Filter commits affecting this file path | |
| limit | No | Max results (1-100) | |
| since | No | Commit hash or ref — exclude commits reachable from this | |
| start | No | Pagination start index | |
| until | No | Commit hash or ref — include commits reachable from this (default: default branch HEAD) | |
| project_key | Yes | The project key | |
| repository_slug | Yes | The repository slug | |
| response_format | No | Output format: markdown (default) or json | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |