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

jj absorb — Split changes in the source revision and move each change to the closest mutable ancestor where the

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thejj absorbcommandsplitsourceclichangesrevision

Problem

How to use the jj absorb command: 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 information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-absorb>.

Solution

jj absorb — 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 information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-absorb>.

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}}

Code Snippets

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}}

Context

tldr-pages: common/jj absorb

Revisions (0)

No revisions yet.