bb_diff_commits
Compare changes between commits in a Bitbucket repository by providing commit hashes. Generates a formatted Markdown diff showing file changes, additions, and deletions for code review or analysis.
Instructions
Shows changes between commits in a repository identified by workspaceSlug
and repoSlug
. Requires sinceCommit
and untilCommit
to identify the specific commits to compare. Returns the diff as formatted Markdown showing file changes, additions, and deletions between the commits. Requires Bitbucket credentials to be configured.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cursor | No | Pagination cursor for retrieving additional results | |
includeFullDiff | No | Whether to include the full code diff in the response (default: false) | |
limit | No | Maximum number of changed files to return in results | |
repoSlug | Yes | Repository slug to compare commits in | |
sinceCommit | Yes | Base commit hash or reference. IMPORTANT NOTE: For proper results with code changes, this should be the NEWER commit (chronologically later). If you see "No changes detected", try reversing commit order. | |
untilCommit | Yes | Target commit hash or reference. IMPORTANT NOTE: For proper results with code changes, this should be the OLDER commit (chronologically earlier). If you see "No changes detected", try reversing commit order. | |
workspaceSlug | No | Workspace slug containing the repository. If not provided, the system will use your default workspace. |