Reviewing pull requests

Introduction to GitHub Concepts

Jasmin Ludolf

Content Developer, DataCamp

How to request a review of a PR

View of pull request with the reviewer section visible

Introduction to GitHub Concepts

Assign vs. Review

Assignee

  • Approves the PR

Reviewer

  • Looks at the changes before the PR is merged
Introduction to GitHub Concepts

How to request a review of a PR

View with a reviewer requested

Introduction to GitHub Concepts

How to review a PR

Owner view of the PR tab

Introduction to GitHub Concepts

How to review a PR

Owner view of the PR tab highlighting the PR we are clicking on

Introduction to GitHub Concepts

How to review a PR

Owner view of the files changed tab in a PR

Introduction to GitHub Concepts

Reviewing a PR

Owner view of the files changed tab in a PR highlighting the red highlight

Introduction to GitHub Concepts

Reviewing a PR

Owner view of the files changed tab in a PR highlighting the green highlight

Introduction to GitHub Concepts

Reviewing a PR

Owner view of the files changed tab in a PR with the review changes dropdown visible

Introduction to GitHub Concepts

Adding comments to a PR

Owner view of the files changed tab in a PR with the blue cross icon visible

Introduction to GitHub Concepts

Adding comments to a PR

Owner view of the files changed tab in a PR with comment box for one line

Introduction to GitHub Concepts

Adding comments to a PR

Owner view of the files changed tab in a PR with comment box for multiple lines

Introduction to GitHub Concepts

Responding to a PR

Close up view of the options to respond to a PR with a circle around the request changes option.

Introduction to GitHub Concepts

Comment vs. Request changes

Close up view of the options to respond to a PR with a circle around the comment option.

Comment

  • Feedback
  • Suggestions
  • No requirement to change the project
Introduction to GitHub Concepts

Comment vs. Request changes

Request Changes

  • Feedback that needs to be incorporated

Close up view of the options to respond to a PR with a circle around the request changes option.

Introduction to GitHub Concepts

Requesting changes

Contributor view to make the requested changes.

Introduction to GitHub Concepts

Requesting changes

Contributor view to re-request review.

Introduction to GitHub Concepts

Approving a PR

Owner view of a PR with the Approve option highlighted

Introduction to GitHub Concepts

Merging a PR

Owner view of an approved PR with the merge button highlighted

Introduction to GitHub Concepts

Merging a PR

Owner view of an approved PR with the confirm merge button highlighted

Introduction to GitHub Concepts

Deleting a branch after a PR

Owner view of a merged PR with the delete branch button highlighted

Introduction to GitHub Concepts

Restoring a deleted branch

Owner view of a merged PR with the restore branch button highlighted

Introduction to GitHub Concepts

Restoring from a closed PR

View of the Pull requests tab

Introduction to GitHub Concepts

Restoring from a closed PR

View of the pull requests tab highlighting the prs on the repo

Introduction to GitHub Concepts

Restoring from a closed PR

View of the closed PRs

Introduction to GitHub Concepts

Restoring from a closed PR

View of the restore button in a closed PR

Introduction to GitHub Concepts

Let's practice!

Introduction to GitHub Concepts

Preparing Video For Download...