Reference

gbp-create-remote-repo(1)

Create a remote Git repository

NAME

gbp-create-remote-repo - Create a remote Git repository

SYNOPSIS

FCgbp create-remote-repoF[0] [FC--versionF[0]] [FC--helpF[0]] [FC--verboseF[0]] [FC--color=F[0][auto|on|off]] [FC--color-scheme=F[0] COLOR_SCHEME] [FC--remote-url-pattern=F[0] url-pattern] [FC--remote-name=F[0] name] [FC--template-dir=F[0] directory] [FC--remote-config=F[0] config] [FC--[no-]pristine-tarF[0]] [FC--debian-branch=F[0] branch_name] [FC--upstream-branch=F[0] branch_name] [FC--[no-]trackF[0]] [FC--[no-]bareF[0]] [create | list]

DESCRIPTION

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 FCcollab-maintF[0] repository on FCgit.debian.orgF[0].

When invoked with FClistF[0] it lists the available remote config templates.

OPTIONS

FC--versionF[0]

Print version of the program, i.e. version of the git-buildpackage suite

FC-vF[0], FC--verboseF[0]

Verbose execution

FC-hF[0], FC--helpF[0]

Print help and exit

FC--color=F[0][auto|on|off]

Whether to use colored output.

FC--color-scheme=F[0]COLOR_SCHEME

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, FC--git-color-scheme=F[0]FC'cyan:34::'F[0] would show debug messages in cyan, info messages in blue and other messages in default (i.e. warning and error messages in red).

FC--remote-url-patternF[0]=pattern

Where to create the remote repository. The part %(pkg)s will be replaced by the package name.

FC--remote-nameF[0]=name

What name git will use when referring to that repository, e.g. 'origin'.

FC--template-dirF[0]=directory

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.

FC--remote-configF[0]=config

Name of a config file section in FCgbp.confF[0] that specifies the above parameters. See gbp.conf(5) manpage for details.

FC--debian-branchF[0]=branch_name

The branch in the Git repository the Debian package is being developed on, default is master.

FC--upstream-branchF[0]=branch_name

The branch in the Git repository the upstream sources are put onto. Default is upstream.

FC--pristine-tarF[0]

Whether to push the pristine tar branch.

FC--[no-]trackF[0]

Whether to set up branch tracking for the debian, upstream and pristine-tar branches.

FC--[no-]bareF[0]

Whether the remote repository should be a bare repository (this is the default).

CONFIGURATION FILES

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

SEE ALSO

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

AUTHOR

Guido Günther <[email protected][0]>

History

--color until Debian 9 (Stretch); --color-scheme until Debian 9 (Stretch); --debian-branch until Debian 9 (Stretch); --help until Debian 9 (Stretch); --pristine-tar until Debian 9 (Stretch); --remote-config until Debian 9 (Stretch); --remote-name until Debian 9 (Stretch); --remote-url-pattern until Debian 9 (Stretch); --template-dir until Debian 9 (Stretch); --upstream-branch until Debian 9 (Stretch); --verbose until Debian 9 (Stretch); --version until Debian 9 (Stretch); -h until Debian 9 (Stretch); -v until Debian 9 (Stretch).