Ubuntu Manpages

gbp-clone

Clone a repository from remote

gbp clone [ --verbose ] [ --all ] [ --[no-]pristine-tar ] [ --debian-branch=branch_name ] [ --upstream-branch=branch_name ] [ --depth=depth ] remote_uri

gbp clone clones a remote repository and sets up tracking branches for the debian, upstream and pristine-tar branches. This way you can easily update later using gbp pull.

Track all branches, not only debian and upstream.
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.
Git history depth, for creating shallow git clones.
verbose execution
Track pristine tar branch.

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

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

Guido Guenther <agx@sigxcpu.org>