X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit.1;h=d5ef9303923240dbc745e0f2fad5cf06b081281d;hb=66d6b40a1474ef84fe0e4a68bd7428f5ab1b0e31;hp=cbf0cde5ec042476b6c20f1341abb38cadd241cf;hpb=99b7b3246b32cde43dca421571c06f42e00c1baf;p=dgit.git diff --git a/dgit.1 b/dgit.1 index cbf0cde5..d5ef9303 100644 --- a/dgit.1 +++ b/dgit.1 @@ -14,7 +14,7 @@ dgit \- git integration with the Debian archive .br .B dgit [\fIdgit\-opts\fP] \fBbuild\fP|\fBsbuild\fP|\fBbuild-source\fP -[\fIbuild\-opts\fp] +[\fIbuild\-opts\fP] .br .B dgit [\fIdgit\-opts\fP] \fBpush\fP|\fBpush-source\fP [\fIdgit\-opts\fP] @@ -109,6 +109,22 @@ branch .BI remotes/dgit/dgit/ suite into the current branch. .TP +\fBdgit checkout\fR \fIsuite\fR +Checks out the local branch +.BR dgit/ \fIsuite\fR. + +If the branch does not exist, +dgit checkout creates it, +and sets it up the same way as dgit clone would. +In that case, if +the archive remote tracking branch does not exist, +dgit checkout will do a dgit fetch first. + +NB: dgit checkout will only do a fetch if it has to. +If you already have the suite branch, +and want to merge your branch with updates from the archive, +use dgit pull. +.TP \fBdgit build\fR ... Runs .B dpkg-buildpackage