LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-simplify-parents

removes redundant parent edges from merge commits

TLDR

Simplify parents of all mutable revisions reachable from the working copy
$ jj simplify-parents
copy
Simplify a specific revision
$ jj simplify-parents -r [revision]
copy
Simplify a revision and all its descendants
$ jj simplify-parents -s [revision]
copy

SYNOPSIS

jj simplify-parents [options]

DESCRIPTION

jj simplify-parents removes redundant parent edges from merge commits. If a revision A has parents B and C, and C is already an ancestor of B, A is rewritten to have only B as its parent.This never changes the contents of any revision, including the working copy. Without -r or -s, it uses the revsets.simplify-parents setting, or reachable(@, mutable()) if unset.

PARAMETERS

-r, --revision revsets

Simplify the specified revision(s). Can be repeated.
-s, --source revsets
Simplify the specified revision(s) together with their descendants. Can be repeated.

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

RESOURCES

Copied to clipboard
Kai