Files
cheatsheet-tldr/tldr/jj-absorb
2025-07-06 00:23:01 +00:00

18 lines
622 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.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-absorb>.
- Move all 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}}`