Skip to content
BENIBIX Learn

Pull Request

Development🔀 Version ControlCollaboration

Also known as PR, Merge Request, MR

A request to merge a branch, with a page where the team reviews the changes.

Think of it like

Think of it like handing in homework. The teacher reads it and says yes, or asks for fixes.

Example

Emma opens a pull request for dark-mode. Jack leaves two comments, she fixes them, and he approves the merge.

Why it matters

Pull requests make sure at least one other person reads each change. Many bugs are caught there.

Definition

A pull request asks for the changes on one branch to be merged into another. It shows the diff, a short note on what changed and why, and a place to comment. Teammates review it, ask questions and approve it. Tests often run on it by themselves. GitHub calls it a pull request, and GitLab calls the same thing a merge request.

Common mistake

Opening one huge pull request for a week's work. Nobody can review 2,000 changed lines well.

Key takeaways

  1. 1
    Ask, then merge. Changes wait for a yes.
  2. 2
    A place to talk. Comments sit next to each line.
  3. 3
    Keep it small. Small requests get real reviews.

Learn it properly