PY-1.4-BP3-MQ70

Our Goal: Clean Up Your GitHub

In this lesson, you will learn how to clean up your GitHub project. After you add your new feature to the main game, you don't need the special branch you made for it anymore. You will delete that branch from GitHub to keep your project tidy.

Get Ready to Clean Up

Before you delete the branch, make sure your Pull Request was merged. This means your new code is already in the main game.

Go to your GitHub project page. Look at the list of branches. You should still see your 'feature/add-score-limit' branch there. This means it's ready to be deleted.

Delete the Branch

Now, you will delete the special branch from GitHub. This will make your project cleaner.

  1. Go to your GitHub project page.
  2. Find the 'Branches' tab or section. Click on it.
  3. Look for your 'feature/add-score-limit' branch in the list.
  4. Next to the branch name, there should be a button or icon to delete the branch (often a trash can icon).
  5. Click the delete button and confirm if GitHub asks you to.

Check Your Work Again

You've deleted the branch! Now, let's check to make sure it's gone.

Go to the 'Branches' tab or section on your GitHub project page.

What you should see:

āœ… Your 'feature/add-score-limit' branch should not be in the list anymore. This means you successfully cleaned up your GitHub project!

Documentation

Documentation not available for PY-1.4-BP3.