Pull Request (PR): A request to merge your code changes from one branch into another, usually main, after teammates review them. GitLab calls it a merge request; the idea is the same.
Example
You finish the search filter on your feature branch and open a pull request with a short description and a screenshot. Two reviewers comment, you fix the issues, the checks pass, and the PR is merged.
How a Pull Request Works
- Push your feature branch.
- Open a pull request on GitHub, GitLab, Bitbucket, or Azure Repos.
- Automated checks, such as tests, run through CI.
- Reviewers comment; you reply and push fixes to the same branch.
- After approval, the PR is merged.
A Good PR Description
| Part | Example |
|---|---|
| What changed | Adds a price range filter to the product search |
| Why | Ticket PROJ-142: users asked to filter by budget |
| How to test | Search "shoes", set ₹500–₹1,000, check results |
| Screenshots | Before and after, for UI changes |
| Notes | No database changes; old filters unaffected |
PR Mistakes to Avoid
- Huge PRs with unrelated changes; keep each one focused.
- No description, so reviewers have to guess.
- Ignoring or arguing with comments instead of discussing them.
- Leaving debug prints, commented-out code, or failing tests.
- Not checking your own diff before asking others to review.
Related terms
- Code Review: what happens on a pull request.
- Merge: the final step of a pull request.
- Feature Branch: the branch a pull request comes from.
- Push: you push your branch before opening a PR.
- Continuous Integration (CI): runs automated checks on each PR.
Previous term: Pull | Next term: Push
Related guides
- What to Do in Your First Week of an IT Internship
- IT Internship Success Guide
- Build a GitHub Portfolio That Gets You Internship Interviews
Frequently asked questions
What is a pull request?
A pull request is a request to merge your changes from one branch into another, usually after teammates review them.
What is the difference between a pull request and a merge request?
None in practice. GitHub and Bitbucket say pull request; GitLab says merge request.
How big should a pull request be?
Small enough to review in one sitting, often a few hundred lines or fewer, focused on one task.
What should I do when reviewers request changes?
Read each comment, fix or discuss it politely, push the changes to the same branch, and reply when done.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms