Files
tldr/pages/common/jj-config-get.md
Emmanuel Ferdman b95faef950 jj-config*: add page (#20713)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2026-01-13 21:09:19 +05:30

559 B

jj config get

Get the value of a given config option. Unlike jj config list, the result is printed without extra formatting for use in scripts. See also: jj config list. More information: https://docs.jj-vcs.dev/latest/cli-reference/#jj-config-get.

  • Get the value of a config option:

jj config {{[g|get]}} {{name}}

  • Get the configured user name:

jj config {{[g|get]}} user.name

  • Get the configured user email:

jj config {{[g|get]}} user.email

  • Get the default revset for the log command:

jj config {{[g|get]}} revsets.log