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
Simplify a specific revision$ jj simplify-parents -r [revision]
Simplify a revision and all its descendants$ jj simplify-parents -s [revision]
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
sudo apk add jujutsu
sudo zypper install jujutsu
brew install jujutsu
nix profile install nixpkgs#jujutsu
SEE ALSO
jj(1), jj-rebase(1), jj-parallelize(1)
