.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "dpt-upstream-repo 1" .TH dpt-upstream-repo 1 2024-03-04 "pkg-perl-tools 0.78" "Debian Perl packaging Tools" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME dpt\-upstream\-repo \- add upstream Git repository as git remote upstream\-repo .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBdpt upstream-repo\fR [\-g|\-u] .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBdpt upstream-repo\fR adds the upstream Git repository as a \fBgit remote\fR named \fIupstream-repo\fR. The URL for the repository is read from \&\fIdebian/upstream/metadata\fR's \fIRepository\fR field. .PP In case \fIdebian/upstream/metadata\fR doesn't exist, it is created with \fBdpt\-debian\-upstream\fR\|(1). .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-g\fR 4 .IX Item "-g" Don't create \fIdebian/upstream/metadata\fR. .Sp Used for initial cloning, e.g. with \fBmr up\fR: We want the upstream repo being added if debian/upstream/metadata exists. .Sp The letter \fBg\fR is used for historical reasons because initially this option only suppressed the automatic committing to the \fBg\fRit repository. .IP \fB\-u\fR 4 .IX Item "-u" Update the URL of the \fIupstream-repo\fR \fBgit remote\fR. The value is read from the same places as for the initial creation. .Sp \&\fB\-u\fR implies \fB\-g\fR, i.e. we also don't create \fIdebian/upstream/metadata\fR on updates. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdpt\-debian\-upstream\fR\|(1) .SH "COPYRIGHT & LICENSE" .IX Header "COPYRIGHT & LICENSE" .IP "Copyright 2013\-2022 gregor herrmann gregoa@debian.org" 4 .IX Item "Copyright 2013-2022 gregor herrmann gregoa@debian.org" .PD 0 .IP "Copyright 2014 David Bremner bremner@debian.org" 4 .IX Item "Copyright 2014 David Bremner bremner@debian.org" .IP "Copyright 2015 Axel Beckert abe@debian.org" 4 .IX Item "Copyright 2015 Axel Beckert abe@debian.org" .IP "Copyright 2016 Alex Muntada alexm@alexm.org" 4 .IX Item "Copyright 2016 Alex Muntada alexm@alexm.org" .PD .PP This program is free software, licensed under the same term as perl.