Changing a GitHub repository from private to public is simple and can be done through the repository settings. Here’s how to do it:
- Navigate to the private repository you want to change.
- Click on the 'Settings' tab, which is located at the top right of the repository page.
- Scroll down to the 'Danger Zone' section at the bottom of the settings page.
- Click the 'Change repository visibility' button and select 'Change to public'.
- A pop-up will appear asking for confirmation and click on the 'I want to make this repository public' button.
- Click on the 'I have read and understand these effects' button.
- Click 'Make this repository public'.
- Once the repository is public, all code and data in it will be visible to anyone on GitHub.