X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit.1;h=8ddcbe39c354322d61ddb7ec93ea7502c4c906f5;hb=7882b0f7e4eb0d54d51e11a1bc9fb9c510896f5a;hp=6ee22e822082330ad82f2f2d0ac85c27a82881d2;hpb=00c7c161dc66c4db4645b2cfd90d810a17a08f46;p=dgit.git diff --git a/dgit.1 b/dgit.1 index 6ee22e82..8ddcbe39 100644 --- a/dgit.1 +++ b/dgit.1 @@ -88,6 +88,7 @@ For your convenience, the remote will be set up from the package's Vcs-Git field, if there is one - but note that in the general case the history found there may be different to or even disjoint from dgit's view. +(See also dgit update-vcs-git.) .TP \fBdgit fetch\fR [\fIsuite\fP] Consults the archive and git-repos to update the git view of @@ -139,6 +140,20 @@ push-source, or dgit push. Cleans the current working tree (according to the --clean= option in force). .TP +\fBdgit update-vcs-git\fR [\fIsuite\fP|\fB.\fR] [\fB--\fR] [\fIgit fetch options\fR] +.TQ +\fBdgit update-vcs-git\fR [\fIsuite|\fP\fB.\fR] \fB-\fR +Sets up, or updates the url of, the vcs-git remote, and +(unless \fB-\fR was specified) +runs git fetch on it. + +By default, the Vcs-Git field of the .dsc from Debian sid is used, +as that is probably most up to date. +Another suite may be specified, or +.B . +to indicate that the Vcs-Git of the cwd's debian/control should +be used instead. +.TP .B dgit help Print a usage summary. .TP @@ -246,6 +261,11 @@ and (but only does each thing if dgit is configured to do it automatically). You can use these in any git repository, not just ones used with the other dgit operations. +Does +.B not +run +.B update-vcs-git +(as that requires Debian packaging information). .TP .B dgit setup-useremail Set the working tree's user.name and user.email from the @@ -1173,6 +1193,8 @@ or when pushing and .BI dgit.dsc-url-proto-ok.bad-syntax .TP .BI dgit.default.dsc-url-proto-ok +.TP +.BR dgit.vcs-git.suites " \fIsuite\fR[" ; ...] .SH ENVIRONMENT VARIABLES .TP .BR DGIT_SSH ", " GIT_SSH