← 返回命令列表

Linux command

jj-config-set 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Set user config value

jj config set --user [user.name] "[John Doe]"

Set repo config value

jj config set --repo [key] "[value]"

Set user email

jj config set --user user.email "[email@example.com]"

说明

jj config set sets configuration values in Jujutsu config files. User config applies globally while repo config applies only to the current repository. Values are stored in TOML format.

参数

--user
Set in user configuration.
--repo
Set in repository configuration.

FAQ

What is the jj-config-set command used for?

jj config set sets configuration values in Jujutsu config files. User config applies globally while repo config applies only to the current repository. Values are stored in TOML format.

How do I run a basic jj-config-set example?

Run `jj config set --user [user.name] "[John Doe]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --user do in jj-config-set?

Set in user configuration.