Skip to content

Contributing Code Via a Pull Request

Daniel -The Necroscope edited this page Jul 10, 2017 · 4 revisions

After completing your new code and committing and pushing it into your fork of the project, you are ready to issue a pull request to have your code placed into the main project repository.

  • Locate and click the sidebar icon Pull requests.
  • Locate and click the link Create pull request. A new form will appear for your request
  • Your current repository will be located on the left. From this option, select the branch or fork that has the changes you would like to have incorporated into the main project.
  • The destination branch is located on the right. Since your repository is a fork, you will be able to choose the destination repository as well as the destination branch.
  • Please add a title, and detailed description for your pull request. Ideally, your description should reference the bug or feature you fixing or adding.
  • When the form is complete, click the button Create pull request.

The Nightscout core team will then get the request and after some QA they will merge the request into the main project.