jj(1)
๐ฆ jj(1): the Jujutsu manual, bestie edition ๐ฆ
okay so welcome to jj(1), the manual page for Jujutsu, aka An experimental VCS ๐
yes, the manpage itself says experimental, so we're keeping that energy fr fr.
โจ NAME โจ
jj โ Jujutsu (An experimental VCS) ๐ซถ
๐ธ SYNOPSIS ๐ธ
jj [-R|--repository] [--ignore-working-copy] [--no-integrate-operation]
[--ignore-immutable] [--at-operation] [--debug] [--color] [--quiet]
[--no-pager] [--config] [--config-file] [-h|--help] [-V|--version]
[subcommands]
๐ DESCRIPTION ๐
Jujutsu (An experimental VCS) ๐
To get started, see the tutorial at jj help -k tutorial โ the link is https://docs.jj-vcs.dev/latest/tutorial/ โจ
๐ OPTIONS ๐
-h,--helpโ print help (see a summary with-h) ๐-V,--versionโ print version ๐ท๏ธ
๐ GLOBAL OPTIONS ๐
-R,--repository <REPOSITORY>โ path to repository to operate on ๐๏ธ
By default, Jujutsu searches for the closest .jj/ directory in an ancestor of the current working directory.
--ignore-working-copyโ don't snapshot the working copy, and don't update it ๐
By default, Jujutsu snapshots the working copy at the beginning of every command. The working copy is also updated at the end of the command, if the command modified the working-copy commit (@). If you want to avoid snapshotting the working copy and instead see a possibly stale working-copy commit, you can use --ignore-working-copy. This may be useful e.g. in a command prompt, especially if you have another process that commits the working copy.
Loading the repository at a specific operation with --at-operation implies --ignore-working-copy.
--no-integrate-operationโ run the command as usual but don't integrate any operations ๐ซ
When this option is given, the operations will still be created as usual but they will not be integrated to the operation log. The working copy will also not be updated.
The command will print the resulting operation ID. You can pass that to e.g. jj --at-op to inspect the resulting repo state, or you can pass it to jj op restore to restore the repo to that state. You can also pass the ID to jj op integrate to integrate the operation.
Note that this does not prevent side effects outside the repo. For example, jj git push --no-integrate-operation will still perform the push. ๐
--ignore-immutableโ allow rewriting immutable commits ๐
By default, Jujutsu prevents rewriting commits in the configured set of immutable commits. This option disables that check and lets you rewrite any commit but the root commit.
This option only affects the check. It does not affect the immutable_heads() revset or the immutable template keyword.
--at-operation <AT_OPERATION>โ operation to load the repo at ๐ฐ๏ธ
Operation to load the repo at. By default, Jujutsu loads the repo at the most recent operation, or at the merge of the divergent operations if any.
You can use --at-op=<operation ID> to see what the repo looked like at an earlier operation. For example jj --at-op=<operation ID> st will show you what jj st would have shown you when the given operation had just finished. --at-op=@ is pretty much the same as the default except that divergent operations will never be merged.
Use jj op log to find the operation ID you want. Any unambiguous prefix of the operation ID is enough.
When loading the repo at an earlier operation, the working copy will be ignored, as if --ignore-working-copy had been specified.
It is possible to run mutating commands when loading the repo at an earlier operation. Doing that is equivalent to having run concurrent commands starting at the earlier operation. There's rarely a reason to do that, but it is possible.
--debugโ enable debug logging ๐--color <WHEN>โ when to colorize output ๐จ
Possible values:
alwaysneverdebugauto
--quietโ silence non-primary command output ๐คซ
For example, jj file list will still list files, but it won't tell you if the working copy was snapshotted or if descendants were rebased.
Warnings and errors will still be printed.
--no-pagerโ disable the pager ๐--config <NAME=VALUE>โ additional configuration options (can be repeated) โ๏ธ
The name should be specified as TOML dotted keys. The value should be specified as a TOML expression. If string value isn't enclosed by any TOML constructs (such as array notation), quotes can be omitted.
--config-file <PATH>โ additional configuration files (can be repeated) ๐
๐ SUBCOMMANDS ๐
jj-abandon(1)โ abandon a revision ๐๏ธjj-absorb(1)โ move changes from a revision into the stack of mutable revisions ๐งฝjj-arrange(1)โ interactively arrange the commit graph ๐งฉjj-bisect(1)โ find a bad revision by bisection ๐jj-bookmark(1)โ manage bookmarks [default alias:b] ๐jj-commit(1)โ update the description and create a new change on top [default alias:ci] ๐jj-config(1)โ manage config options โ๏ธjj-converge(1)โ converge divergent changes ๐jj-describe(1)โ update the change description or other metadata [default alias:desc] ๐ท๏ธjj-diff(1)โ compare file contents between two revisions ๐jj-diffedit(1)โ touch up the content changes in a revision with a diff editor โ๏ธjj-duplicate(1)โ create new changes with the same content as existing ones ๐ฏjj-edit(1)โ sets the specified revision as the working-copy revision ๐ ๏ธjj-evolog(1)โ show how a change has evolved over time ๐jj-file(1)โ file operations ๐jj-fix(1)โ update files with formatting fixes or other changes ๐ชjj-gerrit(1)โ interact with Gerrit Code Review ๐งjj-git(1)โ commands for working with Git remotes and the underlying Git repo ๐jj-help(1)โ print this message or the help of the given subcommand(s) โjj-interdiff(1)โ show differences between the diffs of two revisions ๐jj-log(1)โ show revision history ๐jj-metaedit(1)โ modify the metadata of a revision without changing its content ๐ท๏ธjj-new(1)โ create a new, empty change and (by default) edit it in the working copy ๐jj-next(1)โ move the working-copy commit to the child revision โญ๏ธjj-operation(1)โ commands for working with the operation log ๐๏ธjj-parallelize(1)โ parallelize revisions by making them siblings ๐งฌjj-prev(1)โ change the working copy revision relative to the parent revision โฎ๏ธjj-rebase(1)โ move revisions to different parent(s) ๐ฑjj-redo(1)โ redo the most recently undone operation ๐jj-resolve(1)โ resolve conflicted files with an external merge tool ๐งฐjj-restore(1)โ restore paths from another revision โป๏ธjj-revert(1)โ apply the reverse of the given revision(s) โฉ๏ธjj-root(1)โ show the current workspace root directory (shortcut forjj workspace root) ๐jj-run(1)โ run a command across a set of revisions. ๐โโ๏ธjj-show(1)โ show revision metadata and diff ๐jj-sign(1)โ cryptographically sign a revision โ๏ธjj-simplify-parents(1)โ simplify parent edges for the specified revision(s) ๐ชขjj-sparse(1)โ manage which paths from the working-copy commit are present in the working copy ๐งบjj-split(1)โ split a revision in two โ๏ธjj-squash(1)โ move changes from a revision into another revision ๐ฅjj-status(1)โ show high-level repo status [default alias:st] ๐jj-tag(1)โ manage tags ๐ท๏ธjj-undo(1)โ undo the last operation โชjj-unsign(1)โ drop a cryptographic signature ๐๏ธjj-util(1)โ infrequently used commands such as for generating shell completions ๐งฐjj-version(1)โ display version information ๐ท๏ธjj-workspace(1)โ commands for working with workspaces ๐ข
๐ง EXTRA ๐ง
jj help --helplists available keywords. Usejj help -kto show help for one of these keywords. ๐ก
โญ VERSION โญ
v0.46.0 โ periodt ๐
signed off from the <hotpink>jj 0.46.0</hotpink> manual / version v0.46.0, source-version jj 0.46.0 โ the footer doesn't list a date, so consider this your cute timestamp, bestie ๐ซถ๐
๐ฆ where this page comes from
- arch rolling: jujutsu 0.46.0-1 ยท Apache-2.0
- nixpkgs unstable: jujutsu 0.46.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms