DOKK / manpages / debian 10 / git-buildpackage / gbp-create-remote-repo.1.en
gbp-create-remote-repo(1) git-buildpackage Manual gbp-create-remote-repo(1)

gbp-create-remote-repo - Create remote repositories

gbp create-remote-repo
[--version] [--help] [--verbose] [--color=[auto|on|off]] [--color-scheme= COLOR_SCHEME] [--remote-url-pattern= url-pattern] [--remote-name= name] [--template-dir= directory] [--remote-config= config] [--[no-]pristine-tar] [--debian-branch= branch_name] [--upstream-branch= branch_name] [--[no-]track] [--[no-]bare] [create | list]

gbp create-remote-repo creates a repository at a remote location via ssh and pushes the local repository into it. It then sets up remote branch tracking so you can use gbp pull to update your repository from there.

Before performing any action on the remote location, it will print the remote URL and ask for confirmation.

Note: By default, the remote repositories are created in the collab-maint repository on

When invoked with list it lists the available remote config templates.

Print version of the program, i.e. version of the git-buildpackage suite
Verbose execution
Print help and exit
Whether to use colored output.
Colors to use in output (when color is enabled). The format for COLOR_SCHEME is '<debug>:<info>:<warning>:<error>'. Numerical values and color names are accepted, 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).
Where to create the remote repository. The part %(pkg)s will be replaced by the package name.
What name git will use when referring to that repository, e.g. 'origin'.
Template directory to pass to git init on the remote side. This can be used to customize the remote repository, e.g. to set up hooks.
Name of a config file section in gbp.conf that specifies the above parameters. See gbp.conf(5) manpage for details.
The branch in the Git repository the Debian package is being developed on, default is master.
The branch in the Git repository the upstream sources are put onto. Default is upstream.
Whether to push the pristine tar branch.
Whether to set up branch tracking for the debian, upstream and pristine-tar branches.
Whether to the remote repository should be a bare repository (this is the default).

Several gbp.conf files are parsed to set defaults for the above command-line arguments. See the gbp.conf(5) manpage for details.

gbp-buildpackage(1), gbp-pull(1), gbp.conf(5)

Guido Günther <>

21 March 2019