2025-07-05 20:15:41 +05:30
|
|
|
# jj absorb
|
|
|
|
|
|
|
|
> Split changes in the source revision and move each change to the closest mutable ancestor where the corresponding lines were modified last.
|
2025-07-09 09:10:21 -04:00
|
|
|
> Changes that have zero or multiple matching regions in ancestral revisions won't be moved.
|
2025-07-05 20:15:41 +05:30
|
|
|
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-absorb>.
|
|
|
|
|
2025-07-09 09:10:21 -04:00
|
|
|
- Move all eligible and unambiguous changes from a revision to other revisions automatically:
|
2025-07-05 20:15:41 +05:30
|
|
|
|
|
|
|
`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}}`
|