Skip to main content

Managing Git Integrations

Manage Git integrations in LinearB, including connected repositories, monitoring rules, reauthorization, and gitStream connections.

Steven Silverstone
Updated by Steven Silverstone

From Settings → Company Settings → Git, you can view and manage all Git integrations connected to your LinearB account. Expand an integration to view discovered and monitored repositories, search and filter repositories, monitor or unmonitor them, and manage the integration.


Summary
  • View all Git integrations and repository monitoring counts.
  • Search and filter discovered repositories.
  • Monitor or unmonitor repositories directly from the Git integration page.
  • Reauthorize, configure monitoring rules, or delete existing integrations.
  • Upgrade eligible GitHub OAuth or Classic Token integrations to the LinearB GitHub App.
  • Manage gitStream connections.
  • Add new Git integrations at any time.

Managing an integration
  1. Go to Settings → Company Settings → Git.
  2. Under Integrations and Repositories, locate the integration you want to manage.
  3. Click the integration row to expand its details.
  4. Click the vertical ellipsis (⋮) to access available actions:
    • Reauthorize Git — Refresh authentication if the token expired or permissions changed.
    • Monitoring Rules — Control which repositories, pull requests, or branches LinearB monitors.
    • Upgrade to GitHub App — Upgrade an eligible GitHub OAuth or Classic Token integration to the LinearB GitHub App without creating a new integration. This action is available only to LinearB admins and appears only for eligible integrations.
    • Delete Integration — Permanently remove the integration.
GitHub App integrations: Integrations connected through the LinearB GitHub App do not have Delete Integration or Reauthorize Git options in the three-dot menu. To remove a GitHub App integration, use Manage Integration to open GitHub and uninstall the LinearB GitHub App from the connected GitHub organization.
Available actions depend on the integration type, its configuration, and your permissions. The Upgrade to GitHub App option is available only for eligible GitHub integrations.

Upgrading an existing GitHub integration to the GitHub App

LinearB admins can upgrade existing GitHub integrations that use OAuth or a Classic Token to the LinearB GitHub App.

The upgrade happens within the existing integration. You do not need to create a new integration, and your repository settings and monitoring rules are preserved.

Eligibility requirements

The Upgrade to GitHub App option appears only when the following conditions are met:

  • The integration uses GitHub OAuth or Classic Token authentication.
  • The integration contains only one GitHub organization.
  • The integration has fewer than 1,000 monitored repositories.

Repositories in the Monitored, Processing, and Failing states all count toward the 1,000-repository limit.

Integrations with 1,000 or more monitored repositories, or with more than one GitHub organization, cannot be upgraded using this option.

Permissions: Only LinearB admins can see and use Upgrade to GitHub App. Support users cannot access this action.

Upgrade procedure

  1. Navigate to Settings → Company Settings → Git → Integrations and Repositories.
  2. Locate your existing GitHub integration.
  3. Open the vertical ellipsis (⋮) menu and select Upgrade to GitHub App.
  4. Review the confirmation dialog and click Upgrade to GitHub App.
  5. LinearB redirects you to GitHub. Install the LinearB GitHub App in the GitHub organization connected to your existing integration. If you do not have the required GitHub permissions, request approval from a GitHub organization administrator.
  6. Under Repository access, select All repositories.
  7. Complete the GitHub App installation and return to LinearB.
Important: The upgrade cannot be undone. After upgrading to the LinearB GitHub App, you cannot return to the previous OAuth or Classic Token connection method.

What happens to existing settings?

  • Repository settings and monitoring rules: All existing settings and monitoring rules are preserved.
  • Webhooks: Existing webhooks configured on your GitHub organization are not removed automatically. Remove obsolete webhooks manually from GitHub after upgrading.
  • Shared GitHub organizations: If the same GitHub organization is used in multiple LinearB integrations, repositories discovered in other integrations will not be discovered in the upgraded GitHub App integration. Repositories remain associated with the integration that discovered them.

If the upgrade fails

If the upgrade fails, the integration displays Upgrade to GitHub App failed. LinearB also displays a dialog explaining the cause.

Common causes include:

  • Selecting specific repositories instead of All repositories during GitHub App installation.
  • Installing the LinearB GitHub App in a different GitHub organization from the one connected to the existing integration.

For detailed instructions, screenshots, and troubleshooting, see Upgrade an Existing GitHub Integration to the LinearB GitHub App .


Managing monitored repositories

Expand a Git integration to view all discovered and monitored repositories. From this view, you can search, filter, monitor, or unmonitor repositories without leaving the page.

The integration header displays the number of monitored repositories, the total number of discovered repositories, and the integration's current gitStream connection status.

  1. Go to Settings → Company Settings → Git.
  2. Under Integrations and Repositories, expand the Git integration you want to manage.
  3. Use Search, the State filter, or the Visibility filter to locate repositories.
  4. Select one or more repositories using the checkboxes.
  5. Optionally, click Select all matching repositories to select every repository that matches the current filters.
  6. Click Monitor to begin monitoring the selected repositories, or Unmonitor to stop monitoring them.
Combine Search, State, and Visibility filters to quickly locate repositories. You can clear your current selection at any time.
Repositories in the Discovered state have been detected by LinearB but are not yet monitored. Select the repositories and click Monitor to begin collecting engineering activity.

Recovering failing repositories

If a repository enters a Failing state, recover it directly from the Git integration page.

After recovery starts, the repository moves to Processing. If processing completes successfully, the repository returns to Monitored.

For detailed instructions, see Recover a Failing Repository.


Managing gitStream connections

If an integration is connected to gitStream, the integration header shows a connected to gitStream status.

  • Click Disconnect gitStream to unlink it from the integration.
  • You can reconnect later by reconfiguring gitStream from the integration settings.

Adding a new Git integration
  1. Click Add Integration in the upper-right corner.
  2. Select your Git provider, such as GitHub or GitLab.
  3. Follow the on-screen steps to authenticate and grant access.

Removing a Git integration

The procedure for removing a Git integration depends on how the integration was connected to LinearB.

  • GitHub App integrations: Uninstall the LinearB GitHub App from the connected GitHub organization. The integration is then automatically removed from LinearB, while its historical data is retained.
  • Other supported Git integrations: Use the Delete Integration action in LinearB and select the appropriate data retention option.

Remove a GitHub App Integration

GitHub App integrations are managed through GitHub. Unlike integrations connected using other authentication methods, GitHub App integrations do not have a Delete Integration option in LinearB.

To remove a GitHub App integration, you must uninstall the LinearB GitHub App from the GitHub organization associated with the integration.

Before you begin: You must be an owner of the GitHub organization to uninstall the GitHub App. If you do not have the required permissions, contact an organization owner.
Uninstall the LinearB GitHub App
  1. In LinearB, go to Settings → Company Settings → Git.
  2. Under Integrations and Repositories, locate the GitHub App integration you want to remove.
  3. Click Manage Integration on the integration row. GitHub opens the app's installation settings page.
  4. Scroll to the bottom of the GitHub App configuration page.
  5. Click Uninstall.
  6. Complete any confirmation steps displayed by GitHub.

Alternatively, you can access the installation settings directly from GitHub:

  1. Open GitHub and select the organization where the LinearB GitHub App is installed.
  2. Open the organization's Settings.
  3. Under Third-party Apps, select GitHub Apps.
  4. Click Configure next to the LinearB GitHub App.
  5. Scroll to the bottom of the page and click Uninstall.
What Happens After Uninstallation?

When you uninstall the LinearB GitHub App, GitHub notifies LinearB of the uninstallation. LinearB then automatically removes the corresponding GitHub App integration and stops collecting new data through that connection.

Existing historical repository and engineering data is retained in LinearB. This is equivalent to the Keep data option available when deleting other types of Git integrations.

Important: Uninstalling the GitHub App does not permanently delete historical data stored in LinearB. If you need to remove the integration and all associated historical data, contact LinearB Support to request a full cleanup.

Remove Other Git Integrations

For supported integrations that are not connected through the LinearB GitHub App, you can use the Delete Integration action in LinearB.

  1. Go to Settings → Company Settings → Git.
  2. Under Integrations and Repositories, expand the integration you want to remove.
  3. Open the three-dot menu and select Delete Integration.
  4. If prompted, select one of the following options:
    • Keep data: Removes the integration but retains historical repository and engineering data in LinearB. No new updates are collected through the removed integration.
    • Remove everything: Permanently removes the integration and its associated data.
  5. Click Next, then Delete to confirm.
Note: If your organization has only one Git integration, deletion through the LinearB UI is disabled. At least one active Git integration is required for this deletion workflow.

Unmonitoring Repositories Does Not Remove an Integration

Stopping monitoring for repositories is different from removing a Git integration.

If you unmonitor every repository associated with an integration, the integration itself remains connected.

Unmonitoring all repositories can also cause LinearB to mark the integration as Failing and send integration failure notifications to organization admins.

Important: Do not unmonitor every repository as a method of deleting or disconnecting a Git integration. To remove a GitHub App integration, uninstall the LinearB GitHub App from GitHub. For other supported integrations, use the Delete Integration workflow.

Troubleshooting GitHub App Removal

If you cannot find the Delete Integration action for a GitHub App integration, this is expected. GitHub App integrations must be uninstalled from GitHub.

The Manage Integration button remains available even when the integration is in a failing state.

If the GitHub App has been uninstalled but the integration still appears in LinearB, contact LinearB Support for assistance.

For more information about GitHub App installations, see Connecting Your GitHub Account to LinearB .


Need help?
Visit the LinearB Support Page .

How did we do?

Linking Project Management Issues to Git Branches

Migrating a GitHub Integration to the LinearB GitHub App