gbp-config(1)
π gbp-config(1) β or, "how do I ask gbp what it's thinking" π
okay bestie, so this is a page from the git-buildpackage Manual (yeah, the whole git-buildpackage fam, they're all here), and it's about the little command that tells you what config values gbp is actually gonna use. it's giving "let me just check the vibes before I commit" energy and honestly? iconic. π
β¨ NAME β¨
gbp-config β query configuration values π¦
like, you ask it stuff, it tells you stuff. that's the whole thing.
πΈ SYNOPSIS πΈ
gbp config [--version] [--help] [--verbose] [--color=[auto|on|off]]
[--color-scheme= COLOR_SCHEME] {command.option | command}
π DESCRIPTION π
so gbp config prints values from the configuration files. it interpolates the value for option of command β which is a fancy way of saying it goes and figures out what the value would actually be, and then shows you. no cap. π₯
π OPTIONS π
--versionβ prints the version of the program, i.e. the version of the git-buildpackage suite. you know, for when you're like "wait which one am I even running"-v,--verboseβ verbose execution. more words, more detail, more for you to read. main character energy for your terminal output π-h,--helpβ print help and exit. the classic "help me pls" button π«Ά--color=[auto|on|off]β whether to use colored output.autodoes its own vibe check,onandoffare pretty self-explanatory ngl π--color-scheme=COLOR_SCHEMEβ the colors to use in output (only when color is enabled, obviously). the format forCOLOR_SCHEMEis'<debug>:<info>:<warning>:<error>'. numerical values and color names are accepted, and empty fields imply the default color. for example,--git-color-scheme='cyan:34::'would show debug messages in cyan, info messages in blue and other messages in default (i.e. warning and error messages in red). so basically you're picking each little slot's outfit π
β EXIT CODES β
when gbp config finishes, it indicates success or failure with its exit code. here's the breakdown, no ambiguity bestie:
0β Success. π slay, it worked.1β Failed to parse command line. π you typed something it couldn't make sense of.2β The value did not exist. π it looked. it was not there.
π¦ EXAMPLES π¦
print the value upstream-branch that gbp buildpackage would use:
$ gbp config buildpackage.upstream-branch
buildpackage.upstream-branch=upstream
print the values of all of the gbp buildpackage options:
$ gbp config buildpackage
buildpackage.upstream-branch=upstream
buildpackage.debian-branch=master
...
see? the "..." is doing so much heavy lifting there. it's giving teaser trailer. π
π CONFIGURATION FILES π
several gbp.conf files are parsed to set defaults for the above command-line arguments. head over to the gbp.conf(5) manpage for the details β that's where the lore lives, iykyk.
π SEE ALSO π
gbp.conf(5)β go read it, bestie, it's literally right there
πΈ AUTHOR πΈ
Guido GΓΌnther <agx@sigxcpu.org> β thank you for your service, king π«‘
and that's the whole page!! go forth and query your config values, you absolute legend πβ¨
okay so this was gbp-config(1) from the git-buildpackage suite, and the version on the tin is dated 26 May 2026 β mwah, mwah, xoxo, go config your heart out π
ππ¦
π¦ where this page comes from
- ubuntu stonking: git-buildpackage 0.9.43 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms