How to Change Github Repository from Private to Public
·2 min read
In this article
Here's how to change github repository from private to public in GitHub
- Go to the private repository that you want to make public.
- Select the 'Settings' tab from the top navigation menu of your repository.
- Scroll down to locate the 'Danger Zone' section at the bottom of the page.
- Find and click the 'Change repository visibility' option.
- Choose 'Change to public' from the visibility options presented.
- Confirm your decision by clicking 'I want to make this repository public' in the popup.
- Acknowledge the consequences by selecting 'I have read and understand these effects'.
- Finalize the change by clicking 'Make this repository public'.
Ready to get started with
interactive demos?
Frequently Asked Questions
Yes, you can change a public repository back to private at any time using the same settings menu. However, keep in mind that any forks created while the repository was public will remain public unless the fork owners change their visibility settings separately.



