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 2013-2022 gregor herrmann [email protected]
Copyright 2014 David Bremner [email protected]
Copyright 2015 Axel Beckert [email protected]
Copyright 2016 Alex Muntada [email protected]
This program is free software, licensed under the same term as perl.

Recommended readings

Pages related to dpt-upstream-repo you should read also:

Questions & Answers

Helpful answers and articles about dpt-upstream-repo you may found on these sites:
Stack Overflow Server Fault Super User Unix & Linux Ask Ubuntu Network Engineering DevOps Raspberry Pi Webmasters Google Search