##// END OF EJS Templates
git: use force fetch and update for target ref. This solves a case...
git: use force fetch and update for target ref. This solves a case when in PRs a target is force updated and is out of sync. Before we used a pull which --ff-only fails obviosly because two are out of sync. This change uses new logic that resets the target branch according to the source target branch allowing smooth merge simulation.

File last commit:

r1:854a839a default
r2784:e8c62649 default
Show More
open-pull-request.rst
34 lines | 1.1 KiB | text/x-rst | RstLexer

Open a |pr|

Important

To open a |pr|, it is necessary that the source and the target repositories have at least one commit in common. For more information, see :ref:`merging-empty-repo-ref`.

Once you have finished your work on a fork and want your work merged with the original |repo|, you need to open a |pr|. To open a |pr| and send for review, use the following steps:

  1. Select :menuselection:`Admin --> repositories --> repo name --> Options --> Create Pull Request`
  2. On the :guilabel:`New Pull Request` page, enter the following information:
    • The |pr| name.
    • The |pr| description.
    • Add the reviewer names in the :guilabel:`Pull Request Reviewer` field.
  3. Review the changesets that make up the |pr|.
  4. Select :guilabel:`Submit Pull Request`.
Open a pull request

The pull request can either be merged into the original repository, or it can be declined due to issues during the review process. If issues arise, you can fix them and update the |pr|. For more, see :ref:`update-requests-ref`.