Managing Git Integrations
Manage Git integrations in LinearB, including connected repositories, monitoring rules, reauthorization, and gitStream connections.
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
- Go to Settings → Company Settings → Git.
- Under Integrations and Repositories, locate the integration you want to manage.
- Click the integration row to expand its details.
- 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.
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.
Upgrade procedure
- Navigate to Settings → Company Settings → Git → Integrations and Repositories.
- Locate your existing GitHub integration.
- Open the vertical ellipsis (⋮) menu and select Upgrade to GitHub App.
- Review the confirmation dialog and click Upgrade to GitHub App.
- 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.
- Under Repository access, select All repositories.
- Complete the GitHub App installation and return to LinearB.
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.
- Go to Settings → Company Settings → Git.
- Under Integrations and Repositories, expand the Git integration you want to manage.
- Use Search, the State filter, or the Visibility filter to locate repositories.
- Select one or more repositories using the checkboxes.
- Optionally, click Select all matching repositories to select every repository that matches the current filters.
- Click Monitor to begin monitoring the selected repositories, or Unmonitor to stop monitoring them.
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
- Click Add Integration in the upper-right corner.
- Select your Git provider, such as GitHub or GitLab.
- 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.
Uninstall the LinearB GitHub App
- In LinearB, go to Settings → Company Settings → Git.
- Under Integrations and Repositories, locate the GitHub App integration you want to remove.
- Click Manage Integration on the integration row. GitHub opens the app's installation settings page.
- Scroll to the bottom of the GitHub App configuration page.
- Click Uninstall.
- Complete any confirmation steps displayed by GitHub.
Alternatively, you can access the installation settings directly from GitHub:
- Open GitHub and select the organization where the LinearB GitHub App is installed.
- Open the organization's Settings.
- Under Third-party Apps, select GitHub Apps.
- Click Configure next to the LinearB GitHub App.
- 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.
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.
- Go to Settings → Company Settings → Git.
- Under Integrations and Repositories, expand the integration you want to remove.
- Open the three-dot menu and select Delete Integration.
-
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.
- Click Next, then Delete to confirm.
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.
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