jj-rebase(1) General Commands Manual jj-rebase(1) (NAME) jj-rebase - () (SYNOPSIS) jj rebase [-b|--branch] [-R|--repository] [--ignore-working-copy] [-s|--source] [--no-integrate-operation] [-r|--revision] [--ignore-immutable] [--at-operation] [--debug] [--color] [--skip-emptied] [--keep-divergent] [--quiet] [--no-pager] [--simplify-parents] [--config] [--config-file] [-h|--help] <--onto|--insert-after|--insert-before> (DESCRIPTION) () () (diff) . : * --source/-s * --branch/-b * --revisions/-r -b @ . : * --onto/-o * --insert-after/-A * --insert-before/-B . (abandoned) . . --source/-s . jj rebase -s M -o O ( ): O N' | | | N M' | | | | M O | | => | | | L | L | |/ | | | K | K |/ |/ J J -s jj rebase -s M -s N -o O ( jj rebase -s 'M|N' -o O) 'N O . --branch/-b <<>> . <<>> : * * jj rebase -b X -o Y (revset) (Y..X):: ( jj rebase -s 'roots(Y..X)' -o Y ). jj rebase -b L -o O jj rebase -b M -o O ( L M <<>> ): O N' | | | N M' | | | | M | L' | | => |/ | | L K' | |/ | | K O |/ | J J --revisions/-r . <<>> () . jj rebase -r K -o M : M K' | | | L M | | => | | K | L' |/ |/ J J ( ) . jj rebase -r 'K|N' -o O : O N' | | | N K' | | | | M O | | => | | | L | M' | |/ |/ | K | L' |/ |/ J J jj rebase -s X jj rebase -r X:: X . X -s jj rebase -s jj rebase -r . -o . L ( K) M jj rebase -s L -o K -o M : M L' | |\ | L M | | | => | | | K | K |/ |/ J J --onto/-o . . . --insert-after/-A . -o . jj rebase -r K -A L : N N' | | | M | M' |/ |/ L => K' | | | K L |/ | J J -A ( -B) . jj rebase -r M -A J : M L' | | L K' | => | K M' | | J J --insert-before/-B . . jj rebase -r K -B L : N N' | | | M | M' |/ |/ L => L' | | | K K' |/ | J J -A -B . jj rebase -r K -A J -B M ( jj rebase -r M -o L -o K ): M M' | |\ L L | | => | | | K | K' |/ |/ J J jj rebase -r O -A K -B M: O N' | |\ N | M' |\ | |\ | M | O'| | | => |/ / | L | L | | | | K | K | |/ |/ J J (OPTIONS) -b, --branch ( ) `jj rebase -b=br -o=dst` `jj rebase '-s=roots(dst..br)' -o=dst` . `-b` `-s` `-r` `-b @` . -s, --source () ( ) () . `-b` `-s` `-r` `-b @` . -r, --revision () `-s` `-b` `jj rebase -r` `A` `A` . `-b` `-s` `-r` `-b @` . -o, --onto () ( ) -A, --insert-after () ( ) -B, --insert-before () ( ) --skip-emptied . . . --keep-divergent (change ID) . --simplify-parents `jj simplify-parents` . . -h, --help ( '-h') (GLOBAL OPTIONS) -R, --repository . Jujutsu .jj/ . --ignore-working-copy . Jujutsu . (`@`) . `--ignore-working-copy` . (command prompt) . `--at-operation` `--ignore-working-copy` . --no-integrate-operation . (operation log) . . . `jj --at-op` `jj op restore` . `jj op integrate` . **. `jj git push --no-integrate-operation` (push) . --ignore-immutable . Jujutsu . (root commit) . `immutable_heads()` `immutable` . --at-operation . Jujutsu . `--at-op=` . `jj --at-op= st` `jj st` . `--at-op=@` . `jj op log` . . `--ignore-working-copy` . (mutating) . . . --debug (debug logging) --color : o always o never o debug o auto --quiet `jj file list` . . --no-pager (pager) --config ( ) TOML . TOML . TOML ( ) . --config-file ( ) rebase jj-rebase(1)