Skip to content

reoclo repos

reoclo repos ls [options]
reoclo repos get <repo>
reoclo repos branches <repo>
reoclo repos scan [options] <repo>
reoclo repos link [options] <ownerName>

Reoclo mirrors repositories from your connected git providers: the Reoclo GitHub App and Gitea providers. A mirrored repository is linked, and you can build stacks and applications from it. <repo> accepts the repository’s full name (owner/name), its slug, or its id.

Lists every linked repository with its default branch, visibility, last push, and status.

  • --search <q> filters by name or full name.
Terminal window
$ reoclo repos ls --search storefront
NAME DEFAULT PRIVATE LAST PUSH STATUS
acme/storefront main true 2026-10-30T08:12:44Z active

get shows one repository as a full object. branches lists its branches and marks the default one.

Shows what a repository can deploy at a branch: its compose files, each service Reoclo detected (from a compose file or a Dockerfile) with its build pack, port, and image, the services it skipped and why, and any Reoclo deployment config files. It is the same scan the dashboard runs when you add an application. Available from CLI 0.93.0.

  • --ref <branch> scans this branch, tag, or commit. Default: the repository’s default branch.
  • --config <path> also reads this compose or deployment config file, when it does not sit where Reoclo looks by default. Repeatable, up to five.
Terminal window
$ reoclo repos scan acme/storefront
repository d929b2c3-ad3d-4ef4-914e-2038f1de27d9
ref main
commit eda11deb
compose files docker-compose.yml
NAME SOURCE BUILD PACK COMPOSE FILE SERVICE PORT IMAGE
web compose docker_compose docker-compose.yml web 8080
cache image docker_image docker-compose.yml cache 6379 redis:7-alpine

Pass -o json for the full scan result.

Makes sure Reoclo mirrors a repository, so you can deploy it. Available from CLI 0.93.0. It needs the tenant admin role.

<ownerName> is the repository’s owner/name, or its git remote URL.

Terminal window
$ reoclo repos link acme/storefront
✓ acme/storefront is already linked (id: d929b2c3-ad3d-4ef4-914e-2038f1de27d9)
  • A repository that is already linked is printed and nothing changes.
  • GitHub: when the Reoclo GitHub App can see the repository but your organization mirrors only selected repositories, link adds this repository to the selection and keeps the ones already there. When it mirrors all repositories, link runs a sync.
  • Gitea: when no GitHub installation can see the repository, link runs a sync on each connected Gitea provider.
  • link waits until the repository appears (default up to 180 seconds). --no-wait returns once the sync is queued, and --wait-timeout <seconds> changes the limit.

When no connected provider can see the repository, link exits with code 5 and says what to do: give the Reoclo GitHub App access to the repository in your GitHub installation settings, or connect the Gitea provider with reoclo providers connect <provider>.