Pull Request (PR)

A pull request is a proposal on a hosting service like GitHub to merge changes from one branch into another. It lets teammates review, discuss, and approve code before it is merged.

Git & DevOps

Despite the name, a pull request is not a Git command — it is a collaboration feature of platforms like GitHub and GitLab (which calls it a merge request). You push a branch, then open a PR to start the review.

Reviewers can comment on specific lines, request changes, and run automated checks (CI). Once approved, the PR is merged and the branch can be deleted.

Examples

Bash

git push -u origin feature-login
# then open a pull request on GitHub

Output:

remote: Create a pull request for 'feature-login' on GitHub by visiting:
remote:   https://github.com/you/repo/pull/new/feature-login

Learn it in a lesson

See also

Back to the Dictionary