Skip to main content

Changing the "used by" data for a repository

Display your repository's dependents for a different package.

Qui peut utiliser cette fonctionnalité ?

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 À propos du graphe de dépendances.

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

  1. Sur GitHub, accédez à la page principale du référentiel.

  2. Sous le nom de votre référentiel, cliquez sur Paramètres. Si vous ne voyez pas l’onglet « Paramètres », sélectionnez le menu déroulant , puis cliquez sur Paramètres.

    Capture d’écran d’un en-tête de dépôt montrant les onglets. L’onglet « Paramètres » est mis en évidence avec un encadré orange foncé.

  3. Dans la section « Sécurité » de la barre latérale, cliquez sur Advanced Security.

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