Who can access public repos under an Organization in GitHub?

2.5k Views Asked by At

I have a repo under GitHub account of my organization. I found there are two options available about the visibility of the repo private and public. Is public repo only visible to all people in my organization or all people on GitHub?

2

There are 2 best solutions below

0
On BEST ANSWER

A public repository is visible to the public internet.

See github documentation

You can choose to make the repository either public or private. Public repositories are visible to the public, while private repositories are only accessible to you, and people you share them with.

There is no difference in the definition of 'public' between organisation and user accounts.

2
On

Public repositories are open for everyone in and out of organization.

See: https://help.github.com/articles/creating-a-new-repository/ for more details.

You can choose to make the repository either public or private. Public repositories are visible to the public, while private repositories are only accessible to you, and people you share them with. Your account must be on a paid plan to create a private repository. For more information, see "GitHub's billing plans."