listCommits
List commits from a Bitbucket repository with support for branch filtering, pagination, and selective inclusion or exclusion of commits.
Instructions
List commits in a repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Bitbucket workspace name | |
| repo_slug | Yes | Repository slug | |
| branch | No | Branch name or commit hash to start from | |
| include | No | Commits to include (merges, etc) | |
| exclude | No | Commits to exclude | |
| pagelen | No | Number of items per page (Bitbucket pagelen). Defaults to 10 and caps at 100. | |
| page | No | Bitbucket page number to fetch (1-based). | |
| all | No | When true (and no page is provided), automatically follows Bitbucket next links to return all items up to 1000. |