commands.sh

jj squash

all

Move changes from a revision into another revision.

More info →

Options (4)

-r, --revisionboolean

Move all changes from given revision to its parent

Example: jj squash {{[-r|--revision]}} {{revset}}
-f, --fromboolean

Move all changes from given revision(s) to given other revision

Example: jj squash {{[-f|--from]}} {{revsets}} {{[-t|--into]}} {{revset}}
-t, --intoboolean

Move all changes from given revision(s) to given other revision

Example: jj squash {{[-f|--from]}} {{revsets}} {{[-t|--into]}} {{revset}}
-i, --interactiveboolean

Interactively choose which parts to squash

Example: jj squash {{[-i|--interactive]}}

Examples (4)

Move all changes from current revision to its parent

Move all changes from given revision to its parent

jj squash [-r|--revision] revset

Move all changes from given revision(s) to given other revision

jj squash [-f|--from] revsets [-t|--into] revset

Interactively choose which parts to squash

jj squash [-i|--interactive]
made by @shridhargupta | data from tldr-pages