Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! To install Jujutsu (jj) using Homebrew, run:
Installation Using Homebrew (Linux / macOS)¶
brew install jjJujutsu Configuration¶
Identity Configuration¶
After installation, you should configure your identity:
jj config set --user user.name "Your Name"
jj config set --user user.email "your.email@example.com"Interaction with Git Configurations¶
Jujutsu respects
.gitignorefiles and alsocore.excludesFile(if defined) from.gitignore.Settings in
.gitinore(other thancore.excludesFile) are not read by Jujutsu at this time.In a Git-backed repo, jj reads remote names and URLs directly from the .git/config so that commands like
jj git fetchandjj git pushwork seamlessly.In “colocated” mode, jj and Git share the same underlying commit objects and branch references.
Jujutsu Configuration Leves¶
Jujutsu resolves configuration in the following order (higher number overrides lower):
Built-in: Default settings.
User:
~/.config/jj/config.toml(global for you).Repo-managed:
.config/jj/config.toml(committed to the project).Repo-local:
.jj/repo/config.toml(private to your local clone and should never be committed).Workspace-local:
.jj/workspaces/<name>/config.toml(if using multiple workspaces).Command-line: arguments passed via --config-toml.
Manage Jujutsu Configurations¶
View current config.
jj config listEdit user config.
jj config edit --user Find config file path.
jj config path --userUse Jujutsu with a Git Repository¶
jj git init --colocate