Jujutsu (jj) VCS config
Jujutsu (jj) configuration file
| Type | object |
|---|---|
| File match |
**/.jj/repo/config.toml
**/jj/config.toml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/jujutsu-jj-vcs-config/latest.json |
| Source | https://jj-vcs.github.io/jj/latest/config-schema.json |
Validate with Lintel
npx @lintel/lintel check
User configuration for Jujutsu VCS. See https://docs.jj-vcs.dev/latest/config/ for details
Properties
Settings about the user
2 nested properties
Full name of the user, used in commits
User's email address, used in commits
Metadata to be attached to jj operations (shown in jj op log)
2 nested properties
UI settings
19 nested properties
Default command to run when no explicit command is given
Whether to colorize command output
Whether or not to use a pager
Pager to use for displaying command output
':builtin' (streampager-based) pager configuration
3 nested properties
Whether to quit automatically, whether to clear screen on startup/exit
Whether to wrap long lines
Whether the ruler should start visible
Whether to generate the JJ-INSTRUCTIONS file as part of editing a diff
Options for rendering revision graphs from jj log etc
1 nested properties
Style of connectors/markings used to render the graph. See https://docs.jj-vcs.dev/latest/config/#graph-style
Whether to wrap log template output
Whether to render elided parts of the graph as synthetic nodes.
Editor to use for commands that involve editing text
Editor tool to use for editing diffs
Tool for displaying or generating diffs
Tool to use for resolving three-way merges. Behavior for a given tool name can be configured in merge-tools.TOOL tables
Conflict marker style to use when materializing conflicts in the working copy
Whether to use glob string patterns in revsets by default
Whether the built-in templates should show cryptographic signature information
1 nested properties
Whether the next and prev commands should behave as if the --edit flag was passed
Specifies the sort keys for the bookmarks list. See the jj bookmark list --help for the --sort option
Specifies the sort keys for the tags list. See the jj tag list --help for the --sort option
External filesystem monitor settings, useful for large repos
2 nested properties
Whether to use an external filesystem monitor, useful for large repos
1 nested properties
Whether to use triggers to monitor for changes in the background.
Mapping from jj formatter labels to colors
Builtin diff formats settings
2 nested properties
Options for color-words diffs
3 nested properties
How conflicts are processed and displayed
Maximum number of removed/added word alternation to inline
Number of lines of context to show
Options for git diffs
1 nested properties
Number of lines of context to show
Custom symbols/function aliases that can be used in fileset expressions
Settings for git behavior (when using git backend)
9 nested properties
Whether jj should abandon commits that became unreachable in Git.
The remote(s) from which commits are fetched
Revset of commits to refuse to push to remotes
The remote to which commits are pushed
Whether jj should sign commits before pushing
Whether jj git clone creates a local bookmark tracking the default remote bookmark
Whether the change id should be stored in the Git commit object
Path to the git executable
Whether to colocate the working copy with the git repository
Settings related to specific remotes
Settings for interacting with Gerrit
3 nested properties
The Gerrit remote to interact with
The default branch to propose changes for
Generate Link trailers with this URL instead of Change-Id trailers in jj gerrit upload
Merge settings
2 nested properties
Granularity of hunks when merging files
Whether to resolve conflict that makes the same change at all sides
Tables of custom options to pass to the given merge tool (selected in ui.merge-editor)
Revset expressions used by various commands
9 nested properties
Default set of revisions to open in the TUI when no explicit revset is given for jj arrange
Default set of revisions to fix when no explicit revset is given for jj fix
Default set of revisions to show when no explicit revset is given for jj log and similar commands
Revisions to give shorter change and commit IDs to
Default set of revisions to simplify when no explicit revset is given for jj simplify-parents
Default set of revisions to sign when no explicit revset is given for jj sign
Set of revisions to prioritize when rendering the graph for jj log
Default revision to advance bookmarks to when no explicit revision is given to jj advance --to
Default set of revisions to advance bookmarks from for jj advance (has access to to, the advance destination)
Custom symbols/function aliases that can used in revset expressions
1 nested properties
Revisions to consider immutable. Ancestors of these are also considered immutable. The root commit is always considered immutable.
Custom symbols/function aliases that can used in templates
Custom subcommand aliases to be supported by the jj command
Parameters governing automatic capture of files into the working copy commit
3 nested properties
Fileset pattern describing what new files to automatically track on snapshotting. By default all new files are tracked.
Whether to automatically update the working copy if it is stale. See https://docs.jj-vcs.dev/latest/working-copy/#stale-working-copy
New files with a size in bytes above this threshold are not snapshotted, unless the threshold is 0
Settings controlling the 'advance-branches' feature which moves bookmarks forward when new commits are created.
2 nested properties
Patterns used to identify bookmarks which may be advanced.
Patterns used to identify bookmarks which are not advanced. Takes precedence over 'enabled-branches'.
Settings for verifying and creating cryptographic commit signatures
4 nested properties
The backend to use for signing commits. The string none disables signing.
The key the configured signing backend will use to to sign commits. Overridden by jj sign parameter or by the global --sign-with option
Which commits to sign by default. Values: drop (never sign), keep (preserve existing signatures), own (sign own commits), force (sign all commits)
Tables of options to pass to specific signing backends
3 nested properties
2 nested properties
Path to the gpg program to be called
Whether to consider signatures generated with an expired key as valid
2 nested properties
Path to the gpgsm program to be called
Whether to consider signatures generated with an expired key as valid
3 nested properties
Path to the ssh-keygen program to be called
Path to an allowed signers file used for signature verification
Path to a revocation list file used for revoking public keys
Settings for jj fix
1 nested properties
Settings for tools run by jj fix
Settings for jj split
1 nested properties
If true, bookmarks will move to the second commit instead of the first.
Various hints in jj's UI that can be disabled
Definitions for the templates that various jj commands use
19 nested properties
`jj arrange``'s template for commits in the main view
jj bookmark list's output
The short commit summary used by many commands
Trailers that will be appended to a commit's description
jj file annotate's output
jj config list's output
The draft commit description opened in an editor
jj evolog's output
jj file list's output
jj file show's output
Bookmark name to be assigned when pushing a change to Git remote
jj log's output
jj op log's output
jj op show's output
The operation summary used by many commands
jj show's output
The description of commits reverted by jj revert
jj tag list's output
jj workspace list's output
Working copy settings
2 nested properties
Configuring auto-converting CRLF line endings into LF when you add a file to the backend, and vice versa when it checks out code onto your filesystem.
Whether to respect changes to executable bits on Unix. This is unused on Windows.
Conditions restriction the application of the configuration
6 nested properties
List of paths to match the repository path prefix
List of hostnames to match the hostname
List of paths to match the workspace path prefix
List of subcommands to match
List of platforms to match
List of environment conditions, any of which must match (NAME=VALUE) or be present (NAME).
Scoped tables for conditional configuration