Pull requests let you notify others about changes you’ve pushed to a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before the changes are merged into the repository. The following guide will explain how to create a pull request.

Creating a Pull Request and Merging it to Master

  1. Point your browser to the main page of your GitHub Repository
  2. Select the button at the top of the file list that says branch: master
  3. Select the dev branch from the dropdown menu
  4. Select New Pull Request
  5. Give your Pull Request a title, and description
  6. Select your commit to review the changes that were made
  7. Anything you add will be highlighted green, anything you are removing will be highlighted red. Select Review Changes
  8. Add a Review Summary
  9. Select Submit Review
  10. Select Merge pull request
  11. Give the pull request a concise title and description
  12. Select Confirm merge
  13. The Pull request has been merged, and you can now delete the dev branch
  14. .

Congratulations! You now know how to create a Pull request, and use it to merge any changes in a branch to master.

Leave a Reply