Skip to main content
Revert local changes back to the last known remote state. Examples:
With no arguments, reverts every local change in the working tree; pass file paths to revert only those files.
Reverting cannot be undoneReverting discards local edits with no way to recover them — run poly diff or poly status first if you’re unsure what will be lost.
--json output shape:
Last modified on November 27, 2026