How to Github Repository Private to Public

How to Github Repository Private to Public

The steps on how to change a GitHub repository from private to public:

  1. Go to the main page of the repository you want to change the visibility of.
  2. Click the Settings tab.
  3. In the Danger Zone section, click Change repository visibility.
  4. Select Public from the dropdown menu.
  5. Click I understand, change repository visibility.

Once you have changed the visibility of the repository, it will be accessible to everyone on the internet. If you have any collaborators on the repository, they will still have access to it.

Here are some things to keep in mind when changing a repository from private to public:

  • If your repository contains any sensitive information, such as passwords or API keys, you should remove it before changing the visibility.
  • If you have any open pull requests, they will be made public when you change the visibility of the repository.
  • If you have any automated deployments configured, they will be triggered when you change the visibility of the repository.

Leave a Comment

Skip to content