HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

jj next — Move the working-copy commit to a child revision. More information: <https://docs.jj-vcs.dev/latest/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandcopycommitjj nextclimoveworking

Problem

How to use the jj next command: Move the working-copy commit to a child revision. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-next>.

Solution

jj next — Move the working-copy commit to a child revision. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-next>.

Move the working-copy commit to the next child revision:
jj next


Move the working-copy commit a number of revisions forward:
jj next {{offset}}


Edit the child revision directly, instead of creating a new working-copy commit:
jj next {{[-e|--edit]}}


Create a new working-copy commit instead of editing the child revision directly:
jj next {{[-n|--no-edit]}}


Jump to the next conflicted child:
jj next --conflict

Code Snippets

Move the working-copy commit to the next child revision

jj next

Move the working-copy commit a number of revisions forward

jj next {{offset}}

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

jj next {{[-e|--edit]}}

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

jj next {{[-n|--no-edit]}}

Jump to the next conflicted child

jj next --conflict

Context

tldr-pages: common/jj next

Revisions (0)

No revisions yet.