Move changes from a revision into another revision. More information: https://jj-vcs.github.io/jj/latest/cli-reference/#jj-squash.
jj squash
jj squash {{[-r|--revision]}} {{revset}}
jj squash {{[-f|--from]}} {{revsets}} {{[-t|--into]}} {{revset}}
jj squash {{[-i|--interactive]}}