Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command reference

bb [OPTIONS] <COMMAND>

Commands:
  auth       Manage credentials
  repo       Work with repositories
  workspace  Work with workspaces [alias: org]
  pr         Work with pull requests
  pipeline   Work with Bitbucket Pipelines
  workflow   Run custom pipelines (the `gh workflow` analog)
  api        Make an authenticated API request
  browse     Open the repository in the browser
  help       Print this message or the help of the given subcommand(s)

Global options, accepted by every command:

FlagMeaning
-R, --repo <WORKSPACE/REPO>Select another repository: WORKSPACE/REPO or a bitbucket.org URL
--jsonPrint raw API JSON instead of human-readable output
-h, --helpPrint help
-V, --versionPrint version (top level only)

The pages in this section list each subcommand’s own flags, taken from bb <command> --help. bb <command> <subcommand> --help is always the authoritative reference for the version you have installed.

Each page ends with the differences from gh for that command group: extras are Bitbucket additions gh lacks, gaps are gh forms bb does not support (with the reason).