LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-operation-integrate

add an unintegrated Jujutsu operation to the operation log

TLDR

Integrate an operation into the log
$ jj operation integrate [operation-id]
copy
Run a mutating command without integrating it
$ jj --no-integrate-operation [command]
copy
Inspect the resulting repo at that unintegrated operation
$ jj --at-op=[operation-id] log
copy
Restore the repo to that unintegrated operation instead of integrating it
$ jj op restore [operation-id]
copy
Confirm it is (or is not) already in the log
$ jj op log
copy

SYNOPSIS

jj operation integrate operation

DESCRIPTION

jj operation integrate (alias jj op integrate) makes an existing operation part of the operation log. By default, Jujutsu integrates every mutating command automatically. Integration can be skipped with the global --no-integrate-operation flag, or fail to complete after an internal error. This command is how you attach such an operation afterwards.When --no-integrate-operation is given, the command still creates an operation object, but it is not linked into the log and the working copy is not updated. The command prints the resulting operation ID. Pass that ID to jj --at-op to inspect the resulting repo state, to jj op restore to make that state current, or to jj op integrate to append it to the log.Running jj op integrate on an operation that is already visible in jj op log has no effect. --no-integrate-operation does not suppress side effects outside the repo; for example jj git push --no-integrate-operation still performs the push.

PARAMETERS

OPERATION

The operation to integrate. The ID is printed by a command that ran with --no-integrate-operation, or recovered after an interrupted/failed integrate.
--help
Display help information.

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

CAVEATS

Subcommand of jj. The operation must already exist as an object; this command does not create one. Integrating does not undo or redo work — it only links the operation into the log. Side effects that already happened (network, working-copy writes from the original command) are not replayed or rolled back.

SEE ALSO

RESOURCES

Copied to clipboard
Kai