As jj absorb: each hunk of the change’s edits goes into the open change of yours, among those it builds on, that last changed the lines around it, found by annotation. Hunks whose lines main or someone else’s change last changed, new files, and hunks that touch lines of two changes stay where they are. The workspace’s files do not change.
Usage
af absorb [OPTIONS] [PATHS]...Arguments
-
[PATHS]...Glob patterns, from the repository root, selecting the edits to absorb; all if omitted
Options
-
-f, --from <FROM>Change to absorb from, by revset; defaults to the workspace’s change
-
-t, --into <INTO>Changes to absorb into, by revset; defaults to every open change of yours below
[alias: –to]
Global options
Every af command also takes the global options.
Examples
af absorb
af absorb src/parser.rs