commands.sh

jj prev

all

Move the working-copy commit to a parent revision.

More info →

Options (2)

-e, --editboolean

Edit the parent revision directly, instead of creating a new working-copy commit

Example: jj prev {{[-e|--edit]}}
-n, --no-editboolean

Create a new working-copy commit instead of editing the parent revision directly

Example: jj prev {{[-n|--no-edit]}}

Examples (5)

Move the working-copy commit to the previous parent revision

Move the working-copy commit a number of revisions backward

jj prev offset

Edit the parent revision directly, instead of creating a new working-copy commit

jj prev [-e|--edit]

Create a new working-copy commit instead of editing the parent revision directly

jj prev [-n|--no-edit]

Jump to the previous conflicted parent

jj prev --conflict
made by @shridhargupta | data from tldr-pages