LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-absorb

Move changes into the appropriate ancestor commits automatically

TLDR

Absorb working copy changes into ancestor commits
$ jj absorb
copy
Absorb only specific file paths
$ jj absorb [file1] [file2]
copy
Absorb from a specific source revision
$ jj absorb --from [revision]
copy
Absorb into a specific set of destination revisions
$ jj absorb --into [revset]
copy

SYNOPSIS

jj absorb [options] [filesets...]

DESCRIPTION

jj absorb splits changes in the source revision and moves each change to the closest mutable ancestor where the corresponding lines were last modified. This is useful for fixing up a series of commits without manual rebasing.If the destination revision cannot be determined unambiguously for a change, that change is left in the source revision. The source revision is abandoned if all changes are absorbed and it has no description.The modifications made by absorb can be reviewed with `jj op show -p`.

PARAMETERS

-f, --from REVSET

Source revision to absorb from (default: @).
-t, --into REVSETS
Destination revisions to absorb into (default: mutable()). Only ancestors of the source are considered.
-R, --repository PATH
Path to repository to operate on.
--ignore-working-copy
Don't snapshot or update the working copy.
--ignore-immutable
Allow rewriting immutable commits.

INSTALL

sudo pacman -S jujutsu
copy
sudo apk add jujutsu
copy
sudo zypper install jujutsu
copy
brew install jujutsu
copy
nix profile install nixpkgs#jujutsu
copy

SEE ALSO

jj(1), jj-squash(1), git-absorb(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid