Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos.
GitHub AE is currently under limited release. Please contact our Sales Team to find out more.

Setting repository visibility

You can choose who can view your repository.

En este artículo

About repository visibility changes

Organization owners can restrict the ability to change repository visibility to organization owners only. For more information, see "Restricting repository visibility changes in your organization."

We recommend reviewing the following caveats before you change the visibility of a repository.

Making a repository private

  • If you change a repository's visibility from internal to private, GitHub will remove forks that belong to any user without access to the newly private repository. If the internal repository has any forks, the visibility of the forks is already private. For more information, see "What happens to forks when a repository is deleted or changes visibility?"
  • Any published Páginas de GitHub site will be automatically unpublished.

Making a repository internal

Note: Los repositorios internos se encuentran disponibles con GitHub Enterprise Cloud y Servidor de GitHub Enterprise 2.20+. Para obtener más información, consulta la sección "Productos de GitHub".

Changing a repository's visibility

  1. En GitHub Enterprise, visita la página principal del repositorio.

  2. Debajo de tu nombre de repositorio, da clic en Configuración.

    Botón de configuración del repositorio

  3. Under "Danger Zone", to the right of to "Change repository visibility", click Change visibility.

    Change visibility button

  4. Select a visibility.

    Dialog of options for repository visibility

  5. To verify that you're changing the correct repository's visibility, type the name of the repository you want to change the visibility of.

  6. Click I understand, change repository visibility.

    Confirm change of repository visibility button

Further reading

¿Te ayudó este documento?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.