repo:node:merge

Stage one merged node in the selected local repository and one lineage relation from each supplied source, in argument order.

Reference for flywheel repo:node:merge.

Stage one merged node in the selected local repository plus one lineage relation from each --source node, in the order supplied, as a single staged update. Sources may already be committed or may have been created or edited in the same open staging area; an unknown or tombstoned source fails the command without changing staged work. Commit the staged work afterwards with repo:commit.

Initial hosted sharing is applied when repo:push publishes the node, not when you stage or commit it, including the named Editor/Admin fork exception. See Sharing when a node is created for the full rule.

Command Group

Local Repository

Summary

Stage one merged node in the selected local repository and one lineage relation from each supplied source, in argument order.

Effect

changes data

Usage

flywheel repo:node:merge <FLAGS>

Required flags

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

Optional flags

FlagValueDefaultChoicesDescription
--repostringLocal repository filesystem path.
--personalUse the configured personal repository.
--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

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

flywheel repo:node:merge --repo <path> --source=<node_id> --source=<node_id> --format=json