Skip to content
Documentation
Open the panel

Command lineCommands

Repositories

The GitHub, GitLab and Bitbucket repositories of a project, which its agents can clone. The panel does the same on the Repositories tab of a project.

1

Step 1: List the repositories

The command shows the repositories of the project with their provider, server, default branch, visibility and state.

$ kcloud repositories list --project sandbox

Output

REPOSITORY            PROVIDER  SERVER              BRANCH  VISIBILITY  STATUS  CHECKED                   ID
kikimoradev/kikimora  github    https://github.com  main    private     ok      2026-03-14T09:30:00.000Z  0195a3c4-7e21-7b6d-9f40-3c81a4d2e600

kcloud repositories available --project sandbox --credential GitHub lists the repositories a token can see, with its provider and on its server. Pick what to register from that list.

2

Step 2: Register a repository

--credential is the label of a token of the project that can see the repository, and the provider and the server follow from that token. Give the path as the provider names it: owner/name on GitHub, group/subgroup/name on GitLab, workspace/name on Bitbucket Cloud and PROJECT/name on Bitbucket Data Center. The platform checks the repository with the provider.

$ kcloud repositories add acme/website --project mobile-app --credential GitHub

Output

Registered acme/website on main as 0195a3c4-7e21-7b6d-9f40-3c81a4d2e600.
3

Step 3: Change the token of a repository

The command points the repository at another token of the project from the same provider and server, for instance before the old one is deleted.

$ kcloud repositories set-credential acme/website --project mobile-app --credential "GitHub bot"

Output

acme/website uses GitHub bot now.
4

Step 4: Check a repository again

The platform reads the repository from its provider again, for instance after a rename or a change of its default branch.

$ kcloud repositories refresh acme/website --project mobile-app

Output

acme/website is ok on main.
5

Step 5: Take a repository out of a project

The repository at its provider stays as it is; the project stops knowing it.

$ kcloud repositories delete acme/website --project mobile-app --yes

Output

Took acme/website out of the project.

Matches the panel at cloud.kikimora.dev.