Skip to main content

Gerrit with Jujutsu

Jujutsu has a very similar model to Gerrit and natively supports sending Gerrit changes!

You’ll need to configure a Gerrit remote. If it’s not origin, you can instruct Jujutsu to use it by specifying it in .jj/repo/config.toml:

[gerrit]
default-remote = "gerrit"       # name of the Git remote to push to
default-remote-branch = "main"  # target branch in Gerrit

After that, jj gerrit upload -r <revision> will automatically add Change-Id footers and send your changes to Gerrit, printing a link to a resulting patchset to the terminal.

See Jujutsu docs for more information.