bj repo¶
Work with Bitbucket repositories.
Synopsis¶
Commands¶
| Command | Description |
|---|---|
view |
View a repository. |
list |
List repositories in a workspace. |
clone |
Clone a repository locally (HTTPS uses your bj token automatically). |
set-default |
Store the default workspace used when not inside a clone. |
create |
Create a new repository (needs a token with repository write scope). |
fork |
Fork a repository into a workspace. |
delete |
Delete a repository (irreversible; needs repository admin scope). |
edit |
Edit repository settings (description, visibility, name). |
rename |
Rename a repository. |
file |
Print the contents of a file in the repository. |
ls |
List files in a repository directory. |
deploy-key |
Manage repository access/deploy keys. |