LinuxCommandLibrary

jj-squash

combines a commit's changes into its parent in Jujutsu

TLDR

Squash into parent

$ jj squash
copy
Squash specific revision into parent
$ jj squash -r [revision]
copy
Squash interactively
$ jj squash -i
copy
Squash into specific destination
$ jj squash --into [destination]
copy

SYNOPSIS

jj squash [options]

DESCRIPTION

jj squash combines a commit's changes into its parent in Jujutsu. The squashed commit becomes empty and can be abandoned. Use -i to select which changes to squash.

PARAMETERS

-r, --revision rev

Revision to squash.
--into rev
Destination commit.
-i, --interactive
Select changes interactively.
-m, --message msg
New commit message.

SEE ALSO

jj(1), jj-abandon(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community