|Building Debian Packages with git-buildpackage: Version: 0.8.17|
gbp clone [
[GIT|DEBIAN]] repository [directory]
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.
Print version of the program, i.e. version of the git-buildpackage suite
Print help and exit
Whether to use colored output.
Colors to use in output (when color is enabled). The format for
Numerical values and color names are accepted, empty fields imply
the default color. For example,
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.
Local repository to use as alternate instead of re-copying data from remote repository.
Track pristine tar branch.
Enable running hooks.
Execute COMMAND after cloning the source from the remote.
Exported environment variables are:
Note that if you clone a repository that contains a hook configuration in debian/gbp.conf this hook will not be run automatically to prevent execution of untrusted code.
When set to
When set to
The (possibly remote) repository to clone from. This is usually a Git URL but some shortcuts are supported (see below).
The directory to clone to.
Clone a repository and setup a tracking branch for pristine-tar as well:
gbp clone --pristine-tar git://honk.sigxcpu.org/git/git-buildpackage.git
Clone from the Git-Vcs URL of a package:
gbp clone vcsgit:libvirt
Clone from a github repository:
gbp clone github:agx/git-buildpackage
Several gbp.conf files are parsed to set defaults for the above command-line arguments. See the gbp.conf(5)> manpage for details.
|<<< gbp-dch||gbp-config >>>|