commands.sh

jj absorb

all

Split changes in the source revision and move each change to the closest mutable ancestor where the corresponding lines were modified last. Changes that have zero or multiple matching regions in ancestral revisions won't be moved.

More info →

Options (2)

-f, --fromboolean

Move all eligible and unambiguous changes from a revision to other revisions automatically

Example: jj absorb {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revsets}}
-t, --intoboolean

Move all eligible and unambiguous changes from a revision to other revisions automatically

Example: jj absorb {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revsets}}

Examples (2)

Move all eligible and unambiguous changes from a revision to other revisions automatically

jj absorb [-f|--from] revset [-t|--into] revsets

Move only changes in given files from a revision to other revisions

jj absorb [-f|--from] revset [-t|--into] revsets filesets
made by @shridhargupta | data from tldr-pages