mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
736 B
Plaintext
19 lines
736 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|