.\" 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-PULL" "1" "29 October 2014" "" "git-buildpackage Manual" .SH NAME gbp-pull \- Safely update a repository from remote .SH SYNOPSIS \fBgbp pull\fR [ \fB--version\fR ] [ \fB--help\fR ] [ \fB--verbose\fR ] [ \fB--color=\fI[auto|on|off]\fB\fR ] [ \fB--color-scheme=\fICOLOR_SCHEME\fB\fR ] [ \fB--force\fR ] [ \fB--redo-pq\fR ] [ \fB--[no-]pristine-tar\fR ] [ \fB--ignore-branch\fR ] [ \fB--debian-branch=\fIbranch_name\fB\fR ] [ \fB--upstream-branch=\fIbranch_name\fB\fR ] [ \fB--depth=\fIdepth\fB\fR ] .SH "DESCRIPTION" .PP \fBgbp pull\fR updates the \fBdebian\fR, \fBupstream\fR and \fBpristine-tar\fR branches from a remote repository in one go. It checks if the update is safe (would result in a \fBfast-forward\fR merge) and aborts otherwise. .SH "OPTIONS" .TP \fB--version\fR Print version of the program, i.e. version of the git-buildpackage suite .TP \fB-v\fR .TP \fB--verbose\fR Verbose execution .TP \fB-h\fR .TP \fB--help\fR Print help and exit .TP \fB--color=\fI[auto|on|off]\fB \fR Whether to use colored output. .TP \fB--color-scheme=\fICOLOR_SCHEME\fB \fR Colors to use in output (when color is enabled). The format for COLOR_SCHEME is \&':::\&'. Numerical values and color names are accepted, empty fields imply the default color. For example --git-color-scheme='cyan:34::' would show debug messages in cyan, info messages in blue and other messages in default (i.e. warning and error messages in red). .TP \fB--force\fR force a branch update even if this results in a non fast forward update. .sp .RS .B "Warning:" Forcing a branch update makes you lose your modifications. .RE .TP \fB--redo-pq\fR also rebuild the corresponding patch-queue using \fBgbp pq\fR\&. .sp .RS .B "Warning:" This drops the patch-queue branch if it exists. .RE .TP \fB--ignore-branch \fR Don't care if we're on a branch or in detached head state. .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 deepening shallow git clones. .TP \fB--pristine-tar \fR Whether to update the pristine-tar branch too. .SH "EXIT CODES" .PP When \fBgbp pull\fR finishes it indicates success or failure with it's exit code: .TP \fB0\fR Success. .TP \fB1\fR An error occured during the pull, see the printed error message for details. .TP \fB2\fR At least one branch couldn't be fast forwarded. .SH "CONFIGURATION FILES" .PP Several \fIgbp.conf\fR files are parsed to set defaults for the above commandline arguments. See the \fBgbp.conf\fR(5) manpage for details. .SH "SEE ALSO" .PP \fBgbp-buildpackage\fR(1), \fBgbp-clone\fR(1), \fBgbp-pq\fR(1), \fBgbp.conf\fR(5) .SH "AUTHOR" .PP Guido Guenther