Overview

PRs are a feature of platforms like GitHub and Bitbucket. They provide a forum for discussing proposed changes, viewing diffs, and running automated tests before the code is integrated into the main branch.

The Workflow

  1. Branch: Create a new branch for your changes.
  2. Commit: Make changes and commit them to your branch.
  3. Open PR: Request that your changes be merged into the target branch.
  4. Review: Team members comment on and approve the changes.
  5. Merge: The changes are integrated into the target branch.

Importance

PRs are the primary mechanism for code review and quality control in modern software development.

Related Terms