Web apps & software

What is a pull request?

A pull request, often called a PR, is a request to merge the changes on one Git branch into another, usually main, which opens a space for teammates to review, comment and run automated checks first.

What it holds

A title and description of what and why, the list of changed lines, linked tickets, comments from reviewers, and the status of automated tests and linters. GitHub and Gitea use the name pull request; GitLab calls it a merge request.

Habits of a healthy process

  • Small changes that a person can review in under half an hour.
  • A description that explains the reason, not only the diff.
  • Required passing checks and at least one approval before merging.
  • Polite, specific comments, and fixes pushed to the same branch.
  • A preview environment for front-end changes so reviewers can try them.

Merge styles

Merge commit, squash and rebase produce different histories. Squash gives one tidy commit per feature; teams choose one and stick to it.

For clients

Ask a vendor whether every change goes through pull request review. It is the clearest evidence that no single person can slip untested code into your product.

Questions, answered

One marked as not ready, used to share early work or run checks without asking for approval yet.

The pull request is the container; the code review is the activity of reading and commenting.

By the Stegnor team · Updated