What is a pull request?

A pull request (PR) is a feature of GitHub, GitLab and Bitbucket (GitLab calls it a merge request). You push your branch to the server and ask the team to review it and merge it into main.

  • The team can read the changes, comment on lines and ask for corrections.
  • Automatic tests can run on the PR.
  • After approval, the branch is merged.

A pull request is not a Git command, it is a feature of the hosting website. See Git Branching Strategy.


Learn more about the similar topics:
Tutorials
Git Clone
Git Remote
Git Push
Git Fetch and Pull
Exercises & Assignments
Clone a repository, make a change and push it
Get new changes from the remote with fetch and pull
Interview Questions & Answers
What is Git Clone and How to Clone a Git repository?
How can you push changes to a remote branch in Git?
What is the difference between git fetch and git pull?
What is the difference between git clone and fork?
What is origin in Git?
What is a pull request?
What is the difference between force push and force with lease in Git?