hosted:repository:head
Show the published head of a hosted repository.
Reference for flywheel hosted:repository:head.
Show the published head of a hosted repository. This is a read-only query of the hosted copy and changes nothing. Run it next to repo:log to compare local and published history. An existing repository requires membership with a sufficient role and otherwise returns 403 repository_forbidden (CLI exit 3); missing and retired repositories return 404 repository_not_found. To add your own node under a readable parent without joining its repository, run flywheel hosted:node:create --parent <node_id> --title 'My addition'; without a write role there, it lands in your fork.
Command Group
Hosted Repository
Summary
Show the published head of a hosted repository.
Usage
flywheel hosted:repository:head [FLAGS] <repository_id>Arguments
| Argument | Required | Choices | Description |
|---|---|---|---|
<repository_id> | Yes | Hosted repository UUID. |
Required flags
None.
Optional flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--format | FORMAT | json, tsv, csv, table | Output format for command results. | |
--env | PROFILE | Use a configured CLI profile for this invocation. | ||
--out | PATH | Write output to a file path, or use - for stdout. | ||
--open | Open browser-bound URLs when supported. | |||
--no-retry | Disable transient-error retries. | |||
--retry-max | N | Maximum transient-error retry attempts. | ||
--wait | Block on async operations until a terminal state is reached. | |||
--wait-timeout | SECONDS | 600 | Seconds to wait for --wait before timing out. Defaults to 600. | |
--allow-self | Allow mutating the currently active credential. | |||
--timeout | SECONDS | Set the per-request timeout budget in seconds. | ||
--idempotency-key | KEY | Reuse an Idempotency-Key so ambiguous write failures can be retried with the same key. | ||
--force | Force safety-gated operations where supported. | |||
--yes | Skip confirmation prompts for destructive operations. | |||
--debug | Print structured request debugging with secrets masked. | |||
--verbose | Print verbose progress for long-running operations. | |||
-h, --help | Show this help. |
Examples
Compare the hosted head with the local repository status.
flywheel hosted:repository:head 11111111-1111-4111-8111-111111111111 --format=jsonhosted:node:tombstone
Commit the reversible removal of a node (a later restore undoes it); its history, semantic edges, containment, tags, and attachments stay in the repository. Lineage links must be removed first.
hosted:repository:list
List hosted repositories with optional names, your role, owner, and kind (default workspace, fork, or other).