Add or remove GitHub repositories

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019

Once you make a connection to a GitHub repository from Azure Boards, you can add or remove repositories under the same GitHub account or organization. Or, you can completely remove the connection to all repositories.

You can manage which GitHub repositories can participate in Azure Boards integration. For more information, see Change GitHub repository access, or suspend or uninstall the integration.

Note

With the Azure Boards app for GitHub, Azure Boards and Azure DevOps Services support integration with GitHub.com and GitHub Enterprise Server repositories. Integration with other Git repositories is not supported.

Note

With the Azure Boards app for GitHub, Azure DevOps Servers 2019 and later versions support integration with GitHub Enterprise Server repositories. Integration with other Git repositories is not supported.

Prerequisites

  • To add repositories to a connection, you must be the person who created the connection.
  • To remove repositories or remove a connection, you must be the person who created the connection or belong to the Project Collection Administrators group.
  • To add repositories, you must be an administrator or owner of the GitHub repository you'll connect to. You can connect to multiple GitHub repositories so long as you're an administrator for those repositories.

Open Project Settings>GitHub Connections

  1. Sign into the web portal for your Azure Boards project.

  2. Choose (1) Project Settings> (2) GitHub connections.

    Screenshot of open Project Settings>GitHub connections.

    Screenshot of open Project Settings>GitHub connections.

Add or remove repositories, or remove a connection

Tip

If you encounter a problem with a connection, we recommend that you remove the connection and start over with a new connection.

  1. To add or remove repositories, choose More options for the connection and choose Add repositories or Remove repositories from the menu.

    Screenshot of GitHub connection menu of More options.

  2. To remove all repositories and the connection, choose the Remove connection option. Then, choose Remove to confirm.

    Confirm remove GitHub connection dialog

  1. To add or remove repositories, open the actions icon for the connection and choose Add repositories or Remove repositories from the menu.

    Add or remove GitHub repositories

  2. To remove all repositories and the connection, choose the Remove connection option. Then, choose Remove to confirm.

    Confirm remove GitHub connection dialog

Try this next