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

  1. Push your feature branch.
  2. Open a pull request on GitHub, GitLab, Bitbucket, or Azure Repos.
  3. Automated checks, such as tests, run through CI.
  4. Reviewers comment; you reply and push fixes to the same branch.
  5. After approval, the PR is merged.

A Good PR Description

PartExample
What changedAdds a price range filter to the product search
WhyTicket PROJ-142: users asked to filter by budget
How to testSearch "shoes", set ₹500–₹1,000, check results
ScreenshotsBefore and after, for UI changes
NotesNo 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

Previous term: Pull  |  Next term: Push

Related guides

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
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.