Skip to content

Configuring Jujitsu (jj)

Joel Reymont
Joel Reymont

This is my Jujitsu (jj) repo config template. I usually symlink it to .jj/repo/config.toml and check it in.

I then jj sync && jj evolve where using git I would git pull --rebase.

And jj is lovely... but for having to jj b s master -r @- all the time before pushing, often with --allow-backwards. I think it's a feature, though, and not a bug!

[aliases]
ci = ['commit']
push = ['git', 'push']
sync = ['git', 'fetch', '--all-remotes']
evolve = ['rebase', '--skip-emptied', '-d', 'master']

[snapshot]
max-new-file-size = 1479557
jjvcs