LinuxCommandLibrary

jj-next

moves the working copy to a child change

TLDR

Move to child change

$ jj next
copy
Move multiple steps
$ jj next [2]
copy
Edit the target change
$ jj next --edit
copy
Move to specific branch
$ jj next --branch [name]
copy

SYNOPSIS

jj next [options] [count]

DESCRIPTION

jj next moves the working copy to a child change. It navigates forward in the change history.
The command is useful for reviewing changes in sequence. Combined with prev, it enables navigation through history.

PARAMETERS

COUNT

Number of changes to move forward.
--edit
Edit target change instead of creating new.
--branch NAME
Follow specific branch.
--help
Display help information.

CAVEATS

Subcommand of jj. Requires child changes to exist. Ambiguity with multiple children.

HISTORY

jj next is part of Jujutsu, providing intuitive history navigation for the change-centric model.

SEE ALSO

jj(1), jj-prev(1), jj-edit(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community