hosted:node:merge

Commit one merged node in this hosted repository and one lineage relation from each supplied source, in argument order. The sources are kept, not deleted or changed. The merged node takes the first nonblank source title (else "Merged node"); its content and summary start empty.

Reference for flywheel hosted:node:merge.

Create and commit one merged node in the hosted repository named by --repository-id; the source lineage does not choose a different repository.

Initial sharing is copied once at creation; see Sharing when a node is created for the full rule. To review work before publishing it, use a local repository and push only when ready.

Command Group

Hosted Repository

Summary

Commit one merged node in this hosted repository and one lineage relation from each supplied source, in argument order. The sources are kept, not deleted or changed. The merged node takes the first nonblank source title (else "Merged node"); its content and summary start empty.

Effect

changes data

Usage

flywheel hosted:node:merge <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--repository-idstringHosted repository UUID.
--sourcestringSource node UUID; repeat --source for each source node.

Optional flags

FlagValueDefaultChoicesDescription
--messagestringHosted commit message.
--expected-headstringHosted head this write expects, as head from flywheel hosted:repository:head &lt;repository_id&gt;. When set, the automatic head read is skipped; if the head has moved, the write is refused with repository_head_mismatch: read the head again and retry.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILESelect a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesConfirm forced compute:release-all --force. Other runtime commands do not read --yes.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Commit one merged node and lineage from each source in argument order.

flywheel hosted:node:merge --repository-id=<uuid> --source=<node_id> --source=<node_id> --format=json

Output

Default format: human.

FieldType
commit_idstring
headstring
cursorstring
receipt_sequenceinteger
node_idstring
warnings (optional)array<string>