PY-1.4-BP3-MQ10

Our Goal: Start a Pull Request

In this lesson, you will learn how to start a 'Pull Request' (PR) on GitHub. This is how you ask for your new code to be added to the main game. You will open a new Pull Request to bring your special branch into the main game. This is an important step when you work with others on a project.

Get Ready to Start

This lesson is about using GitHub, not writing code. You will go to your game project on GitHub.com.

Your goal is to make a Pull Request from your special branch to the 'main' branch. This means you are asking to put your new code into the main game.

Start Your Pull Request

Now, you will start your Pull Request on GitHub. Follow these steps:

  1. Go to your game project on GitHub.com in your web browser.
  2. Look for a button or message that asks you to make a new Pull Request for your branch. Click it!
  3. Make sure your special branch is chosen as the 'source' (where your changes come from) and the 'main' branch is chosen as the 'target' (where your changes will go).
  4. Give your Pull Request a good title that tells what you changed.
  5. Write a short message to explain what your changes do.
  6. Click the button to create the Pull Request.

Check Your Work Again

You've started your Pull Request! Now, let's check to make sure it's there.

Go to the 'Pull requests' tab in your GitHub project. You should see your new Pull Request listed.

What you should see:

āœ… Your Pull Request should have the title you gave it. āœ… It should be open and ready for others to look at.

Run this command in your terminal to check the tests:

pytest module-1.4/blueprint-BP3/quest-10

What you should see:

āœ… All tests should pass! This means you successfully started your Pull Request.

Documentation

Documentation not available for PY-1.4-BP3.