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
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--source | string | Source node UUID; repeat --source for each source node. |
Optional flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--repo | string | Local repository filesystem path. | ||
--personal | Use the configured personal repository. | |||
--format | FORMAT | json, tsv, csv, table | Output format for command results. | |
--env | PROFILE | Select a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL. | ||
--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 | Confirm forced compute:release-all --force. Other runtime commands do not read --yes. | |||
--debug | Print structured request debugging with secrets masked. | |||
--verbose | Print verbose progress for long-running operations. | |||
-h, --help | Show 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