Appearance
ts repo
Show or remove a repository on this server's hub.
Usage
text
ts repos [<filter>]
ts repo <namespace/name>
ts repo versions <namespace/name>
ts repo delete <namespace/name> [--force]Description
ts repos lists every repository the hub holds. Pass a filter to narrow it — a plain substring, matched case-insensitively against the full namespace/name.
ts repo <namespace/name> shows one repository: its display name, whether it ships with the server, how many revisions it has, its pre-cache setting, and any repositories that depend on it. ts repo versions lists the revisions themselves, including ones that have been deleted but not yet garbage-collected.
ts repo delete removes the repository's content and its configuration on this server — the pre-cache setting, workspace wiring, and anything else keyed to it. Both go together: content alone would leave configuration rows pointing at nothing, with no remaining way to reach them. Deletion is not recoverable from the CLI, so it prompts unless you pass --force.
These commands go through the Turbo Server API rather than the hub directly, which is why they use the same sign-in as every other ts command. They need a Server Administrator, and they work the same way whether you are signed in with --server or administering the box directly with --local.
Options
| Flag | Description | Default/Values | Notes |
|---|---|---|---|
--force, -f | Delete without confirming. | Applies to delete. | |
--csv | Comma-separated output. | Applies to ts repos. | |
--no-trunc | Do not truncate long values. | Applies to ts repos. |
Examples
bash
# Everything on the hub
ts repos
# Just the Python ones
ts repos python
# What is in this repository?
ts repo turbo/git
# Which revisions exist, including deleted ones
ts repo versions turbo/git
# Remove it, content and configuration together
ts repo delete acme/oldapp --forceOutput
text
REPOSITORY
turbo/git
turbo/pythontext
Repository: turbo/git
Name: Git
System: yes
Pre-cache: None
Created: 2026-03-11T09:22:41Z
Revisions: 6
Used by: acme/build-toolsExit Codes
0 on success. -4 when no account is signed in for this server. -5 when the account is not a Server Administrator. -6 when the repository does not exist. -1 with the reason when this server has no hub, or the hub cannot be reached.
Related Commands
- ts import — Copy a repository in from an upstream server.
- Hub administration — The same operations in the Administration site.
