# Public and private repositories

A public repository can be read by everyone and is indexed by search engines; a private one is visible only to its members. Visibility is changed in the settings.

> **Who can use this:** Visibility can be changed by the repository owner (in an organization — by an organization owner or someone given admin rights).

## Who sees what

| | Public | Private |
|---|---|---|
| Files, history, issues | everyone, including guests | members only |
| Cloning | without signing in | with a token or a key |
| Search | included in the sitemap if it has a commit and a README with text or a description | no |
| List on the profile | visible to everyone | visible only to you |

A private repository is not shown to a guest even in the organization's list of repositories: the
guest sees that there are no repositories yet.

## Change the visibility

Open the repository **Settings**, the **General** block, switch the visibility and save. Switching
to public comes with a warning: all the content, including history, becomes open. Switching to
private removes the repository from search — search engines re-read the address and drop it from
results.

## Who can write

Visibility is about reading. Write access is granted separately: [Members and roles](https://skillok.org/docs/en/repositories/settings/collaborators).

---

https://skillok.org/docs/en/repositories/visibility
