← 返回命令列表

Linux command

jj-config-path 命令

文本

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

常用示例

Show user config path

jj config path --user

Show repo config path

jj config path --repo

说明

jj config path displays the file system path to Jujutsu configuration files. Useful for locating config files for manual editing, scripting, or troubleshooting. If the target config file does not yet exist, the command still prints the path where it would be created.

参数

--user
Show user-level configuration file path (typically ~/.config/jj/config.toml).
--repo
Show repository-level configuration file path (.jj/repo/config.toml).
--help
Display help information.

FAQ

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

jj config path displays the file system path to Jujutsu configuration files. Useful for locating config files for manual editing, scripting, or troubleshooting. If the target config file does not yet exist, the command still prints the path where it would be created.

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

Run `jj config path --user` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

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

Show user-level configuration file path (typically ~/.config/jj/config.toml).