Skip to main content
The tolmo code command lets you browse and clone repositories connected to your organization. Tolmo resolves access credentials on the backend, so you can clone repositories from GitHub or GitLab without managing tokens locally. All subcommands accept the global --org flag to target a specific organization.

List repositories

Use tolmo code list to see every repository Tolmo knows about for your organization.
The --cloneable flag filters to repositories that have storage artifacts ready for cloning. Use it before running a bulk clone to preview what will be fetched.

Clone a repository

Use tolmo code clone to clone a single repository. You can pass the repository in any of the following formats — Tolmo normalizes them automatically:
Tolmo defaults to GitHub. Pass --provider gitlab when the short group/repo notation is ambiguous or when the host is not included in the URL.

Clone all repositories

Use tolmo code clone all to clone every repository in your organization that is available for cloning. Tolmo prompts for confirmation before starting.
tolmo code clone all may clone a large number of repositories, some of which can be several gigabytes. Check tolmo code list --cloneable first to understand the scope, and make sure you have sufficient disk space before proceeding.