SaltfishTry for free

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

  1. Go to your private repository that you want to make publicly visible.
  2. Select the 'Settings' tab from the navigation menu at the top of your repository page.
  3. Scroll to the bottom of the settings page to locate the 'Danger Zone' section.
  4. Find and click the 'Change repository visibility' option within the Danger Zone.
  5. Choose 'Change to public' from the visibility options presented.
  6. Confirm your decision by clicking 'I want to make this repository public' in the dialog box.
  7. Acknowledge the consequences by selecting 'I have read and understand these effects'.
  8. Finalize the change by clicking 'Make this repository public' to complete the process.

Ready to get started with
interactive demos?

Try for free

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.