.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH jj 1 "jj 0.45.1" .SH NAME jj \- Jujutsu (An experimental VCS) .SH SYNOPSIS \fBjj\fR [\fB\-R\fR|\fB\-\-repository\fR] [\fB\-\-ignore\-working\-copy\fR] [\fB\-\-no\-integrate\-operation\fR] [\fB\-\-ignore\-immutable\fR] [\fB\-\-at\-operation\fR] [\fB\-\-debug\fR] [\fB\-\-color\fR] [\fB\-\-quiet\fR] [\fB\-\-no\-pager\fR] [\fB\-\-config\fR] [\fB\-\-config\-file\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIsubcommands\fR] .SH DESCRIPTION Jujutsu (An experimental VCS) .PP To get started, see the tutorial [`jj help \-k tutorial`]. .PP [`jj help \-k tutorial`]: https://docs.jj\-vcs.dev/latest/tutorial/ .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP \fB\-V\fR, \fB\-\-version\fR Print version .SH "GLOBAL OPTIONS" .TP \fB\-R\fR, \fB\-\-repository\fR \fI\fR Path to repository to operate on By default, Jujutsu searches for the closest .jj/ directory in an ancestor of the current working directory. .TP \fB\-\-ignore\-working\-copy\fR Don\*(Aqt snapshot the working copy, and don\*(Aqt 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`. .TP \fB\-\-no\-integrate\-operation\fR Run the command as usual but don\*(Aqt 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. .TP \fB\-\-ignore\-immutable\fR 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. .TP \fB\-\-at\-operation\fR \fI\fR 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=` to see what the repo looked like at an earlier operation. For example `jj \-\-at\-op= 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\*(Aqs rarely a reason to do that, but it is possible. .TP \fB\-\-debug\fR Enable debug logging .TP \fB\-\-color\fR \fI\fR When to colorize output .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 always .IP \(bu 2 never .IP \(bu 2 debug .IP \(bu 2 auto .RE .TP \fB\-\-quiet\fR Silence non\-primary command output For example, `jj file list` will still list files, but it won\*(Aqt tell you if the working copy was snapshotted or if descendants were rebased. Warnings and errors will still be printed. .TP \fB\-\-no\-pager\fR Disable the pager .TP \fB\-\-config\fR \fI\fR 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\*(Aqt enclosed by any TOML constructs (such as array notation), quotes can be omitted. .TP \fB\-\-config\-file\fR \fI\fR Additional configuration files (can be repeated) .SH SUBCOMMANDS .TP jj\-abandon(1) Abandon a revision .TP jj\-absorb(1) Move changes from a revision into the stack of mutable revisions .TP jj\-arrange(1) Interactively arrange the commit graph .TP jj\-bisect(1) Find a bad revision by bisection .TP jj\-bookmark(1) Manage bookmarks [default alias: b] .TP jj\-commit(1) Update the description and create a new change on top [default alias: ci] .TP jj\-config(1) Manage config options .TP jj\-converge(1) Converge divergent changes .TP jj\-describe(1) Update the change description or other metadata [default alias: desc] .TP jj\-diff(1) Compare file contents between two revisions .TP jj\-diffedit(1) Touch up the content changes in a revision with a diff editor .TP jj\-duplicate(1) Create new changes with the same content as existing ones .TP jj\-edit(1) Sets the specified revision as the working\-copy revision .TP jj\-evolog(1) Show how a change has evolved over time .TP jj\-file(1) File operations .TP jj\-fix(1) Update files with formatting fixes or other changes .TP jj\-gerrit(1) Interact with Gerrit Code Review .TP jj\-git(1) Commands for working with Git remotes and the underlying Git repo .TP jj\-help(1) Print this message or the help of the given subcommand(s) .TP jj\-interdiff(1) Show differences between the diffs of two revisions .TP jj\-log(1) Show revision history .TP jj\-metaedit(1) Modify the metadata of a revision without changing its content .TP jj\-new(1) Create a new, empty change and (by default) edit it in the working copy .TP jj\-next(1) Move the working\-copy commit to the child revision .TP jj\-operation(1) Commands for working with the operation log .TP jj\-parallelize(1) Parallelize revisions by making them siblings .TP jj\-prev(1) Change the working copy revision relative to the parent revision .TP jj\-rebase(1) Move revisions to different parent(s) .TP jj\-redo(1) Redo the most recently undone operation .TP jj\-resolve(1) Resolve conflicted files with an external merge tool .TP jj\-restore(1) Restore paths from another revision .TP jj\-revert(1) Apply the reverse of the given revision(s) .TP jj\-root(1) Show the current workspace root directory (shortcut for `jj workspace root`) .TP jj\-run(1) Run a command across a set of revisions. .TP jj\-show(1) Show revision metadata and diff .TP jj\-sign(1) Cryptographically sign a revision .TP jj\-simplify\-parents(1) Simplify parent edges for the specified revision(s) .TP jj\-sparse(1) Manage which paths from the working\-copy commit are present in the working copy .TP jj\-split(1) Split a revision in two .TP jj\-squash(1) Move changes from a revision into another revision .TP jj\-status(1) Show high\-level repo status [default alias: st] .TP jj\-tag(1) Manage tags .TP jj\-undo(1) Undo the last operation .TP jj\-unsign(1) Drop a cryptographic signature .TP jj\-util(1) Infrequently used commands such as for generating shell completions .TP jj\-version(1) Display version information .TP jj\-workspace(1) Commands for working with workspaces .SH EXTRA \*(Aqjj help \-\-help\*(Aq lists available keywords. Use \*(Aqjj help \-k\*(Aq to show help for one of these keywords. .SH VERSION v0.45.1