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.
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.
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.
Now, you will delete the special branch from GitHub. This will make your project cleaner.
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!