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 your private repository that you want to make publicly visible.
- Select the 'Settings' tab from the navigation menu at the top of your repository page.
- Scroll to the bottom of the settings page to locate the 'Danger Zone' section.
- Find and click the 'Change repository visibility' option within the Danger Zone.
- Choose 'Change to public' from the visibility options presented.
- Confirm your decision by clicking 'I want to make this repository public' in the dialog box.
- Acknowledge the consequences by selecting 'I have read and understand these effects'.
- Finalize the change by clicking 'Make this repository public' to complete the process.
Ready to get started with
interactive demos?
Frequently Asked Questions
Yes, you can convert a public repository back to private at any time through the same repository settings. However, keep in mind that once a repository has been public, it may have been forked or cloned by other users. Making it private again won't affect those existing copies.



