CommencerCommencer gratuitement

Comparing PRs

Comparing changes in PRs is one of the most critical steps in collaboration. It allows the repo owner or reviewer to check there aren't any conflicts and also edit any of the suggested changes.

Let's say you are working on the soccer_analysis repo and have been working on the laliga_eda branch to do some exploratory data analysis for La Liga. You're ready to add your work to the project in the main branch.

The "Comparing changes" page comes up after clicking on "New pull request."

What is the correct setup for the PR you'd like to do to add your changes?

Cet exercice fait partie du cours

Introduction to GitHub Concepts

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice