.. _Submitting a pull request: Submitting a Pull Request ========================= Preparing a branch ------------------ Before opening a pull request, sync your fork's ``master`` branch with the upstream `Acoular repository `_. GitHub documents how to `sync a fork `_. Then create a branch for your changes: .. code-block:: console $ git switch -c new-branch Run the :doc:`quality` checks, commit your changes, and push the branch: .. code-block:: console $ git push --set-upstream origin new-branch Creating a pull request on GitHub --------------------------------- Open your fork on GitHub and select **Contribute** or **Compare & pull request** for the branch. .. image:: ../_static/forked_acoular_repository_github_site.png :width: 100% :alt: Forked Acoular repository Describe the change, link the related issue when applicable, and complete the pull request template. .. image:: ../_static/pull_request_form_github_site_write.png :width: 100% :alt: Pull request form Use the **Preview** tab to review the rendered description before selecting **Create pull request**. .. image:: ../_static/pull_request_form_github_site_preview.png :width: 100% :alt: Pull request preview