jj-new

creates a new change in the repository

TLDR

Create new change
$ jj new
New change with description
$ jj new -m "[message]"
New change on specific parent
$ jj new -r [rev]
New merge change
$ jj new [rev1] [rev2]
Insert change before current
$ jj new --insert-before

SYNOPSIS

jj new [options] [revisions...]

DESCRIPTION

jj new creates a new change in the repository. It starts a fresh working copy state on top of specified parents.The command enables branching and merge point creation. Multiple parents create a merge change.

PARAMETERS

REVISIONS

Parent revisions (creates merge if multiple).
-m MESSAGE
Description for new change.
-r REV
Parent revision.
--insert-before
Insert before current change.
--insert-after
Insert after specified.
--help
Display help information.

INSTALL

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

CAVEATS

Subcommand of jj. Current change auto-commits. Different from Git branch.

HISTORY

jj new is part of Jujutsu, central to its workflow of treating all changes as first-class revisions.

SEE ALSO

jj(1), jj-describe(1), jj-next(1)