repo:unpublished:drop

Drop operations from commits not yet pushed and replay the rest as new local commits. Published commits never change. Find operation IDs with repo:log. A never-published repository works offline; otherwise the hosted head must still match the remote-tracking head. Later removals of a dropped lineage add absent from the base are also dropped and reported; other dependent failures refuse without changing local state.

Reference for flywheel repo:unpublished:drop.

Command Group

Local Repository

Summary

Drop operations from commits not yet pushed and replay the rest as new local commits. Published commits never change. Find operation IDs with repo:log. A never-published repository works offline; otherwise the hosted head must still match the remote-tracking head. Later removals of a dropped lineage add absent from the base are also dropped and reported; other dependent failures refuse without changing local state.

Usage

flywheel repo:unpublished:drop <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--operationstringUnpublished operation UUID from repo:log; repeat --operation for each operation to drop.

Optional flags

FlagValueDefaultChoicesDescription
--repostringLocal repository filesystem path.
--personalUse the configured personal repository.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILEUse a configured CLI profile for this invocation.
--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.
--yesSkip confirmation prompts for destructive operations.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Drop one unpublished operation, retaining the rest of the work.

flywheel repo:unpublished:drop --operation <operation_id> --repo <path> --format=json

Drop multiple operations in one atomic rewrite.

flywheel repo:unpublished:drop --operation <operation_id> --operation <dependent_operation_id> --personal