Developer & Data Platforms

Pull request

Also known as: PR, merge request, pull requests

A pull request (PR) is a request to merge a set of code changes from one branch into another, usually the main project.

It shows exactly what changed, lets teammates comment and suggest edits, and runs automated tests before anything is merged. GitLab calls the same idea a merge request. While pull requests slow things down slightly, they catch bugs, spread knowledge, and create a record of why changes were made.

Pull request, explained at three levels

At home

A pull request is like handing an essay to a friend for proofreading before submitting it. They mark changes, and you fix them before it's final.

At work

Pull requests make sure at least one other person checks code before it goes live.

Real-world examples

At home

Carlos found a typo in an open-source app's documentation. He opened his first pull request, and the maintainer merged it the next day.

At work

Nadia leads engineering at a Toronto health software firm. Every pull request needs two approvals and passing tests, which caught a data bug before release.

How it compares

featurePull requestMerge request
PlatformGitHub, BitbucketGitLab
PurposeReview and merge changesReview and merge changes
FeaturesComments, checks, approvalsComments, checks, approvals
DifferenceName onlyName only

Pull requests and merge requests are the same idea with different names.

For analysts

I'd link pull requests to requirements or tickets. It creates traceability from business need to code change, which auditors and future teams appreciate.

History & origin

Formal code inspections were developed by Michael Fagan at IBM in the 1970s, though they relied on meetings and printed code. Open-source projects reviewed changes by emailing patches, a practice the Linux kernel still uses. GitHub introduced pull requests in 2008, turning review into a simple web experience with comments beside the code, and the idea spread across the industry. Automated checks, from tests to security scans, became part of pull requests through tools such as GitHub Actions in 2019. By 2025, AI code review assistants commonly left comments on pull requests. In my view, the pull request is where software teams learn from each other most.