LinuxCommandLibrary

jj-revert

creates a new commit that undoes the changes from specified revisions

TLDR

Revert changes from revision

$ jj revert -r [revision]
copy
Revert multiple revisions
$ jj revert -r [rev1] -r [rev2]
copy

SYNOPSIS

jj revert [options]

DESCRIPTION

jj revert creates a new commit that undoes the changes from specified revisions. The original commits remain in history. Unlike restore, revert creates new commits to reverse changes.

PARAMETERS

-r, --revision rev

Revision to revert.

SEE ALSO

jj(1), jj-restore(1), jj-undo(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community