Provided by: pkg-perl-tools_0.84_all 

NAME
dpt-upstreamvcs - add upstream Git repository as git remote upstreamvcs
SYNOPSIS
dpt upstreamvcs [-g|-u]
DESCRIPTION
dpt upstreamvcs adds the upstream Git repository as a git remote named upstreamvcs. The URL for the
repository is read from debian/upstream/metadata's Repository field.
In case debian/upstream/metadata doesn't exist, it is created with dpt-debian-upstream(1).
In case a Git remote called upstream-repo exists, it is renamed to upstreamvcs.
OPTIONS
-g Don't create debian/upstream/metadata.
Used for initial cloning, e.g. with mr up: We want the upstream repo being added if
debian/upstream/metadata exists.
The letter g is used for historical reasons because initially this option only suppressed the
automatic committing to the git repository.
-u Update the URL of the upstreamvcs git remote. The value is read from the same places as for the
initial creation.
-u implies -g, i.e. we also don't create debian/upstream/metadata on updates.
dpt upstream-repo (the old name of this subcommand) is an alias for dpt upstreamvcs.
SEE ALSO
dpt-debian-upstream(1)
COPYRIGHT & LICENSE
Copyright 2013-2025 gregor herrmann gregoa@debian.org
Copyright 2014 David Bremner bremner@debian.org
Copyright 2015 Axel Beckert abe@debian.org
Copyright 2016 Alex Muntada alexm@alexm.org
This program is free software, licensed under the same terms as perl.
pkg-perl-tools 0.84 2025-10-31 dpt-upstreamvcs(1)