list_branch_commits
Retrieve and filter commits from a specific branch in Bitbucket repositories, with options to control pagination, date ranges, authorship, merge commits, and message searches for detailed commit analysis.
Instructions
List commits in a branch with detailed information and filtering options
Input Schema
Name | Required | Description | Default |
---|---|---|---|
author | No | Filter by author email/username (optional) | |
branch_name | Yes | Branch name to get commits from | |
include_merge_commits | No | Include merge commits in results (default: true) | |
limit | No | Maximum number of commits to return (default: 25) | |
repository | Yes | Repository slug (e.g., "my-repo") | |
search | No | Search for text in commit messages (optional) | |
since | No | ISO date string - only show commits after this date (optional) | |
start | No | Start index for pagination (default: 0) | |
until | No | ISO date string - only show commits before this date (optional) | |
workspace | Yes | Bitbucket workspace/project key (e.g., "PROJ") |
Input Schema (JSON Schema)
{
"properties": {
"author": {
"description": "Filter by author email/username (optional)",
"type": "string"
},
"branch_name": {
"description": "Branch name to get commits from",
"type": "string"
},
"include_merge_commits": {
"description": "Include merge commits in results (default: true)",
"type": "boolean"
},
"limit": {
"description": "Maximum number of commits to return (default: 25)",
"type": "number"
},
"repository": {
"description": "Repository slug (e.g., \"my-repo\")",
"type": "string"
},
"search": {
"description": "Search for text in commit messages (optional)",
"type": "string"
},
"since": {
"description": "ISO date string - only show commits after this date (optional)",
"type": "string"
},
"start": {
"description": "Start index for pagination (default: 0)",
"type": "number"
},
"until": {
"description": "ISO date string - only show commits before this date (optional)",
"type": "string"
},
"workspace": {
"description": "Bitbucket workspace/project key (e.g., \"PROJ\")",
"type": "string"
}
},
"required": [
"workspace",
"repository",
"branch_name"
],
"type": "object"
}