--- syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- # jj rebase > Move revisions to different parent(s). > More information: . - Move given revisions to a different parent(s): `jj rebase {{[-r|--revisions]}} {{revset}} {{[-d|--destination]}} {{revset}}` - Move given revisions and all their descendants: `jj rebase {{[-s|--source]}} {{revset}} {{[-d|--destination]}} {{revset}}` - Move all revisions in the branch containing given revisions: `jj rebase {{[-b|--branch]}} {{revset}} {{[-d|--destination]}} {{revset}}` - Move revisions to before and/or after other revisions: `jj rebase {{[-r|--revisions]}} {{revset}} {{[-B|--insert-before]}} {{revset}} {{[-A|--insert-after]}} {{revset}}`