LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-unsign

drops cryptographic signatures from Jujutsu revisions

TLDR

Drop the signature from the working-copy commit
$ jj unsign -r @
copy
Drop the signature from a specific revision
$ jj unsign -r [revset]
copy
Drop signatures from several revsets
$ jj unsign -r [revset1] -r [revset2]
copy
Drop signatures from every signed mutable ancestor of `@`
$ jj unsign -r 'signed() & mutable() & ::@'
copy

SYNOPSIS

jj unsign [-r REVSETS]

DESCRIPTION

jj unsign rewrites the selected signed revisions so their cryptographic signatures are dropped. Revisions that were not signed are left alone. Descendants of unsigned commits are rebased; whether those descendants keep a signature depends on `signing.behavior` (with `keep` or `own`, a descendant signed by you is typically re-signed after the rebase).The command warns if it drops signatures from commits whose author email is not yours. Immutable revisions cannot be rewritten unless `--ignore-immutable` is passed. A signing backend is not required in order to drop signatures.Use `jj sign` to add signatures. `signed()` selects currently signed commits in a revset.

PARAMETERS

-r, --revision REVSETS

Revisions to unsign (repeatable; alias `--revisions`). Unsigned revisions in the set are skipped. If omitted, the set is empty and nothing changes.

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. Dropping a signature rewrites the commit (new commit ID, same change ID). Unsigning someone else's commits is allowed but warned. An empty `-r` set is a no-op. This does not un-push already published signed commits.

SEE ALSO

jj(1), jj-sign(1), jj-config(1), git-commit(1)

RESOURCES

Copied to clipboard
Kai