logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dpt-upstream-repo - add upstream Git repository as git remote upstream-repo

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]

See Also