gbp-create-remote-repo

&dhsection;

gbp-create-remote-repo

Create a remote &git; repository

          &gbp-create-remote-repo;
          &man.common.options.synopsis;
          --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

## 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 `collab-maint` repository on `git.debian.org`.

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

## OPTIONS

&man.common.options.description;

`--remote-url-pattern`=`pattern`

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

`--remote-name`=`name`

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

`--template-dir`=`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.

`--remote-config`=`config`

- Name of a config file section in `gbp.conf` that specifies the above parameters. See man.gbp.conf manpage for details.

`--debian-branch`=`branch_name`

- The branch in the &git; repository the &debian; package is being developed on, default is `master`.

`--upstream-branch`=`branch_name`

- The branch in the &git; repository the upstream sources are put onto. Default is `upstream`.

`--pristine-tar`

- Whether to push the pristine tar branch.

`--[no-]track`

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

`--[no-]bare`

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

&man.gbp.config-files;

## SEE ALSO

man.gbp.buildpackage, man.gbp.pull, man.gbp.conf

## AUTHOR

&dhusername; &dhemail;