Configuration filesThe configuration files are parsed in this order:
/etc/git-buildpackage/gbp.confsystem wide configuraton~/.gbp.confper user configuration.gbp.confper repository/branch configurationdebian/gbp.confper repository/branch configuration.git/gbp.confper (local) repository configuration
All have the same format. They consist of (at most) five sections, all of them are optional:
[DEFAULT]Options in this section apply to &git-buildpackage;,
&git-import-orig;, &git-import-dsc; and &git-dch;.[git-buildpackage]Options in this section apply to &git-buildpackage; only and override options from the
[DEFAULT] section.[git-import-orig]Options in this section apply to &git-import-orig; only and override options from the
[DEFAULT] section.[git-import-dsc]Options in this section apply to &git-import-dsc; only and override options from the
[DEFAULT] section.[git-dch]Options in this section apply to &git-dch; only and override options from the
[DEFAULT] section.
The actual options in these sections are the command line options without
the '--' prefix. So dfsgfree would read:
=dfsgfree
in the config file. In the special case of &git-buildpackage; the stripped
prefix is not '--' but '--git-'. Here's a more complete example:
[DEFAULT]
# the default build command
builder=debuild -i\.git -I.git
# the default branch for upstream sources
upstream-branch=upstream
# the default branch for the debian patch
debian-branch=master
[git-buildpackage]
upstream-branch=dfsgclean
# Sign tags with GPG:
sign-tags = True
# Keyid to sign tags with
#keyid = 0xdeadbeef
[git-import-orig]
upstream-branch=notdfsgclean
[git-import-dsc]
upstream-branch=notdfsgclean
[git-dch]
git-log=--no-merges