Skip to content

bj repo clone

Clone a repository locally (HTTPS uses your bj token automatically).

Synopsis

bj repo clone [OPTIONS] REPO [DIRECTORY]

Arguments

Argument Description
REPO WORKSPACE/REPO to clone. (required)
DIRECTORY Target directory.

Options

Option Description
--protocol <text> https or ssh (default: configured).

Examples

bj repo clone myteam/myrepo

See also