Skip to content

gplay edits discard

Discard the explicit Edit pinned in .gplay/edit-<package>.json (the one gplay edits begin opened) and clear the pin.

The pin is cleared regardless of the API outcome: an Edit that has already expired or been discarded server-side (404) is the end state a discard wants, so the local pin is never left behind to block the next gplay edits begin.

With no open Edit, discard fails with exit 60. The package defaults to the repo's .gplay/config.json pin when --package is omitted.

gplay edits discard [flags]
FlagDescription
--output stringoutput format: table, json, or markdown (default: auto — table on TTY, json in pipes/CI)
--package stringAndroid package name (overrides .gplay/config.json pin)
FlagDescription
--account stringname of a stored Account to use (overrides env and active Account)
--retry intretry transient failures (transport errors, 5xx, 429) up to N times with exponential backoff (default: 0, no retry)
--service-account stringpath to a service-account JSON, or inline JSON content (overrides --account, env, and active Account)
--timeout durationper-request API timeout, e.g. 30s or 2m (default: 60s for control-plane calls, none for uploads)
-v, --verboselog flow steps to stderr (info level)