.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "GBP-CLONE" "1" "01 June 2012" "" "git-buildpackage Manual"
.SH NAME
gbp-clone \- Clone a repository from remote
.SH SYNOPSIS
\fBgbp-clone\fR [ \fB--verbose\fR ] [ \fB--all\fR ] [ \fB--[no-]pristine-tar\fR ] [ \fB--debian-branch=\fIbranch_name\fB\fR ] [ \fB--upstream-branch=\fIbranch_name\fB\fR ] [ \fB--depth=\fIdepth\fB\fR ] \fB\fIremote_uri\fB\fR
.SH "DESCRIPTION"
.PP
\fBgbp-clone\fR clones a remote repository and sets up tracking branches for
the \fBdebian\fR, \fBupstream\fR and
\fBpristine-tar\fR branches. This way you can easily update
later using \fBgbp-pull\fR\&.
.SH "OPTIONS"
.TP
\fB--all \fR
Track all branches, not only \fIdebian\fR
and \fIupstream\fR\&.
.TP
\fB--debian-branch=\fIbranch_name\fB \fR
The branch in the Git repository the Debian package is being
developed on, default is \fImaster\fR\&.
.TP
\fB--upstream-branch=\fIbranch_name\fB \fR
The branch in the Git repository the upstream sources are put
onto. Default is \fIupstream\fR\&.
.TP
\fB--depth=\fIdepth\fB \fR
Git history depth, for creating shallow git clones.
.TP
\fB--verbose\fR
.TP
\fB-v\fR
verbose execution
.TP
\fB--pristine-tar \fR
Track pristine tar branch.
.SH "CONFIGURATION FILES"
.PP
Several \fIgbp.conf\fR files are parsed
to set defaults for the above commandline arguments. See the
[XRef to GBP.MAN.GBP.CONF] manpage for details.
.SH "SEE ALSO"
.PP
\fBgit-buildpackage\fR(1),
\fBgbp-pull\fR(1),
\fBgbp.conf\fR(5)
.SH "AUTHOR"
.PP
Guido Guenther