Pull requests

Introduzione ai concetti di GitHub

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
Introduzione ai concetti di GitHub

Make a pull request

View of the forked repository with changes made

Introduzione ai concetti di GitHub

Make a pull request

View of the pull requests tab in the forked repo

Introduzione ai concetti di GitHub

Make a pull request

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

Introduzione ai concetti di GitHub

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

Introduzione ai concetti di GitHub

Comparing changes

View comparing changes highlighting the base and compare branches

Introduzione ai concetti di GitHub

Comparing changes

View comparing changes highlighting the create pull request button

Introduzione ai concetti di GitHub

Fill in a pull request

View to add more detail to a pull request

Introduzione ai concetti di GitHub

Assign a pull request

View to assign a pull request

Introduzione ai concetti di GitHub

Create pull request

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

Introduzione ai concetti di GitHub

Let's practice!

Introduzione ai concetti di GitHub

Preparing Video For Download...