Get startedGet started for free

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?

This exercise is part of the course

Introduction to GitHub Concepts

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise