dpt-upstream-repo - add upstream Git repository as git remote upstream-repo
Contents
Copyright & License
Copyright 2013-2022 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 term as perl.
pkg-perl-tools 0.82 2025-02-28 dpt-upstream-repo(1)
Description
dptupstream-repo adds the upstream Git repository as a gitremote named upstream-repo. 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).
Name
dpt-upstream-repo - add upstream Git repository as git remote upstream-repo
Options
-g Don't create debian/upstream/metadata.
Used for initial cloning, e.g. with mrup: 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 upstream-repogitremote. 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.
See Also
dpt-debian-upstream(1)
Synopsis
dptupstream-repo [-g|-u]
