Pull requests

Introduction to GitHub Concepts

Jasmin Ludolf

Content Developer, DataCamp

What is a PR?

 

  • A way to notify others about changes

 

  • Allows the repo owner to check changes before they are added

 

  • Best practice to add changes to a branch that is not the main branch

 

  • A successful PR is merging two branches
Introduction to GitHub Concepts

Make a pull request

View of the forked repository with changes made

Introduction to GitHub Concepts

Make a pull request

View of the pull requests tab in the forked repo

Introduction to GitHub Concepts

Make a pull request

View of the pull requests tab in the forked repo with the new pull request button highlighted

Introduction to GitHub Concepts

Comparing changes

View that compares the changes made in one branch to the current state of the branch we want to want to copy our changes to

Introduction to GitHub Concepts

Comparing changes

View comparing changes highlighting the base and compare branches

Introduction to GitHub Concepts

Comparing changes

View comparing changes highlighting the create pull request button

Introduction to GitHub Concepts

Fill in a pull request

View to add more detail to a pull request

Introduction to GitHub Concepts

Assign a pull request

View to assign a pull request

Introduction to GitHub Concepts

Create pull request

View to open a pull request with the create pull request button highlighted

Introduction to GitHub Concepts

Let's practice!

Introduction to GitHub Concepts

Preparing Video For Download...