Git Integration
Overview
The Git Integration page lets you connect and manage GitHub, GitLab, and Bitbucket accounts in FlashPanel. Connect multiple accounts from the same provider and choose the account that each site uses to access its repositories.
The page displays:
- The total number of connected accounts.
- The available Git providers.
- The connection status and account count for each provider.
- The nickname or profile name of each connected account.
How to use
Connect a Git account
- Log in to
FlashPanel. - Open Source Code Management.
- Select Connect to GitHub, Connect to GitLab, or Connect to Bitbucket.
- Authorize the account with the Git provider.
- Return to the Source Code Management page and confirm that the account appears on the provider card.
Connect another account from the same provider
- Open the Source Code Management page.
- Find the provider card that already contains a connected account.
- Select Add another account.
- Authorize the additional account.
The provider card updates its account count after the connection is complete. Each account is listed separately so that you can manage and select it independently.
Select an account for a site
Select the Git account separately for each site when installing a repository or updating a Git remote:
- Open the site's Source Code page or Update Git Remote settings.
- Select GitHub, GitLab, or Bitbucket.
- Select the required Git account.
- Load the organizations, repositories, or branches.
- Select the repository and branch, then continue with the site operation.
The selected account determines which repositories and organizations are available to that site. Different sites can use different accounts from the same provider.
Refresh an account
- Find the account on its provider card.
- Select Refresh Token next to that account.
- Complete the provider authorization if requested.
Only the selected account is refreshed.
Unlink an account
- Find the account on its provider card.
- Select the unlink icon next to the account.
- Confirm the action if prompted.
Unlinking one account does not disconnect other accounts from the same provider.
Notes & warnings
- Note: If a repository or organization is missing, select the account that has access to it and load the data again.
- Note: For GitHub organizations, grant
FlashPanelaccess in the GitHub application settings when required. - Warning: You cannot unlink an account while it is assigned to a site. Change the site's Git account or remove its Git connection first.
- Note: Custom Git does not use an account on this page. Configure it with the SSH key provided by
FlashPanelwhen connecting the repository.