Introduction


  • Pull Requests are a way to control the introduction of new content into a shared repository.
  • Pull Requests enable better collaboration for multiple developers.

Basic Pull Requests


  • New PRs can be opened in a repository from a branch or a fork.
  • Text on PRs use Markdown styling for formatting.
  • A user can interact with PRs in multiple ways: commenting, assigning reviewers, linking to other issues and pull requests, and more.

Labels and Templates


  • Labelling PRs can help with prioritization and organization.
  • PR Templates can provide clear instructions for steps, expectations, and more.

'Good' Pull Requests


  • A pull request should contain ONE cohesive change.
  • A pull request should, ideally, be quickly reviewable.
  • A pull request description should give an overview of what, how, and why something changed.

Code Reviews


  • Code reviews are integrated into GitHub Pull requests.
  • Reviewers can approve, request changes, or simply add comments as part of the review process.