How to Change Github Repository from Private to Public
In this article
Converting your GitHub repository from private to public allows other developers and the broader community to discover, view, and contribute to your project. This visibility change is permanent and makes all your code, commit history, and repository data accessible to anyone.
Whether you're ready to open-source your project or want to showcase your work publicly, GitHub makes it straightforward to adjust your repository's visibility settings through the repository configuration panel.
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.
Your turn to show how it works.
Build a walkthrough of your product with Saltfish, then share it with your customers.
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.



