A Pull Request (PR) is a way to merge code from one branch into another through a formal review process. For example, if you develop code in a feature branch that needs to be merged into the develop
branch, you will need to submit a PR and the repo administrator will either accept or reject the merge. This is the approach we will take to ensure the protected branches (main
and develop
) are maintained at a high standard.
Follow these steps to submit a Pull Request:
- Create a feature branch
- Add files, commit, and push the feature branch
- Sign in to the GitHub repo and click on the ‘Pull requests’ tab
- Click ‘New pull request’
- Configure branch comparison using
base:develop
<-compare:your-feature-branch
- Click ‘Create pull request’
- Leave a comment describing the PR and click
Create pull request
to finalize