Navigation
2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Current Level: 10 | 11 | 12 | 13 | 14 | 15
Lesson: Review and Merge Pull Requests
🎯 Objective
As a group, review each other’s work and safely merge changes into the main
branch using GitHub pull requests (PRs).
👣 Steps
-
Go to the Pull Requests Tab
- In your repository, click the Pull requests tab at the top.
- You’ll see a list of open PRs from teammates’ branches.
-
Review the Pull Request
- Click on a PR to open it.
- Read the description left by your teammate.
- Click the “Files changed” tab to preview the edits.
- Leave comments or feedback if needed.
-
Approve and Merge the PR
- If the work looks good and there are no conflicts, click “Merge pull request”.
- Then click “Confirm merge”.
- After merging, you can delete the branch (optional).
-
Repeat for All Team Members
- Each teammate should have their work reviewed and merged in the same way.
- Make sure all branches are merged into
main
before moving on.
âś… Practice Check
đź’¬ Discussion Prompt
What are the benefits of reviewing changes before merging them into the main branch?