Skip to main content

Changing the "used by" data for a repository

Display your repository's dependents for a different package.

Quem pode usar esse recurso?

Repository administrators

Some repositories have a "Used by" section in the sidebar of the Code tab. This section shows the number of public references to a package that were found, and displays the avatars of some of the owners of the dependent projects. For more information, see Sobre o gráfico de dependências.

If you have admin permissions to a repository that contains multiple packages, you can choose which package the "Used by" section represents.

  1. Em GitHub, acesse a página principal do repositório.

  2. No nome do repositório, clique em Settings. Caso não consiga ver a guia "Configurações", selecione o menu suspenso , clique em Configurações.

    Captura de tela de um cabeçalho de repositório que mostra as guias. A guia "Configurações" é realçada por um contorno laranja-escuro.

  3. Na seção "Security" da barra lateral, clique em Advanced Security.

  4. Under "Advanced Security", click the drop-down menu in the "Used by counter" section and choose a package.