Man page - dpt-upstream-repo(1)
Packages contas this manual
- dpt-shell-lib(1)
- dpt-debian-upstream(1)
- dpt(1)
- dpt-upstream-repo(1)
- dpt-import-orig(1)
- dpt-fixup(1)
- dpt-salsa(1)
- dpt-missing-upload(1)
- dpt-never-uploaded(1)
- dpt-prepare(1)
- dpt-config(5)
- dpt-repack.sh(1)
- dpt-missing-upstream(1)
- pristine-orig(1)
- bts-srcpkg(1)
- dpt-uscan(1)
- dpt-packagecheck(1)
- dpt-dch-note(1)
- patchedit(1)
- dpt-new-upstream(1)
- dpt-takeover(1)
- dpt-co(1)
- dpt-gen-itp(1)
- dpt-push(1)
- dpt-invite-github(1)
- dpt-github-oauth(1)
- dpt-lp-mass-subscribe(1)
- dpt-lib.sh(5)
- dpt-ready-for-upload(1)
- dh-make-perl-dev(1)
- dpt-gc(1)
- dpt-ci-failures(1)
- dpt-get-ubuntu-packages(1)
- dpt-clean-mr-repos(1)
- bts-retitle(1)
- dpt-missing-pristine-tar(1)
- dpt-rename-uploader(1)
- dpt-checkout(1)
- dpt-forward(1)
- dpt-cd(1)
apt-get install pkg-perl-tools
Manual
| dpt-upstream-repo(1) | Debian Perl packaging Tools | dpt-upstream-repo(1) |
NAME
dpt-upstream-repo - add upstream Git repository as git remote upstream-repo
SYNOPSIS
dpt upstream-repo [-g|-u]
DESCRIPTION
dpt upstream-repo adds the upstream Git repository as a git remote 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).
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 upstream-repo 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.
SEE ALSO
dpt-debian-upstream(1)
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.
| 2025-02-28 | pkg-perl-tools 0.82 |