jj-revert

creates a new commit that undoes the changes from specified revisions

TLDR

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

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.

INSTALL

sudo pacman -S jujutsu
sudo apk add jujutsu
sudo zypper install jujutsu
brew install jujutsu
nix profile install nixpkgs#jujutsu

SEE ALSO

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