diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-01 12:00:07 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-01 12:22:42 +0100 |
commit | 441a1663d98b29d735e2d9392a5cfc84d7cf00f0 (patch) | |
tree | a606e905b752ffe6006b9463fdf17b00034de1d5 /dgit.1 | |
parent | d561b2284c6e988d70794c9871d44c3bb5f0463f (diff) |
dgit(1): Document as-yet-unwritten `dgit checkout'
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit.1')
-rw-r--r-- | dgit.1 | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |