Skip to main content
Git connections is the company page where owners and admins connect the Git accounts a company deploys from, on the new Git integration. The repositories connected there belong to the company: everyone in the company who can create applications or static sites can deploy them, and they stay connected when people leave, as long as the conditions in How Git connections work hold. To open it, in the sidebar, click Git connections in the Company group.
Only company owners and admins can open Git connections. Developers deploy from the repositories connected there; to connect a new one, they ask an owner or admin.

How Git connections work

On the previous Git integration, each person connects their own Git account in a repository picker, and services deploy through the accounts of the people in the company. On the new Git integration, every application, pipeline and static site deploys through the company’s connections: the GitHub organizations it connects, and the GitLab and Bitbucket repositories owners and admins share from their own accounts. New companies start on the new Git integration. To keep a GitLab or Bitbucket repository deploying when someone leaves, share it from more than one account. On a company that uses the new Git integration, which includes every new company, Git connections shows three cards: GitHub, with the organizations and accounts connected through the Sevalla GitHub app, and GitLab and Bitbucket, with the connected accounts and the repositories each one shares.
The Git connections page of a company on the new Git integration: the GitHub card with the organizations connected through the Sevalla GitHub app, and the GitLab and Bitbucket cards with the connected accounts and the repositories they shareThe Git connections page of a company on the new Git integration: the GitHub card with the organizations connected through the Sevalla GitHub app, and the GitLab and Bitbucket cards with the connected accounts and the repositories they share
In a repository picker (when you create an application or a static site, update a service’s source, or set up preview apps), Repository lists the company’s repositories for the picked provider, the same for everyone in the company. Owners and admins see a Manage Git connections link under it, which opens this page.

Connect GitHub

1

Start the connection

On Git connections, in the GitHub card, click Connect GitHub, or Add another organization when one is already connected. GitHub opens in a popup window.
2

Install the Sevalla GitHub app

Pick the GitHub organization or account, then pick the repositories the company can deploy: Only select repositories with the ones you need, or All repositories. To connect an organization to the company, you must be an owner of the organization on GitHub.
3

Go back to Sevalla

Return to the Sevalla tab. The organization shows in the GitHub card as Connected, with its repositories under it.
To change which repositories the company can deploy, click Manage repositories next to the organization and update the selection on GitHub. Repositories you remove there stop deploying.

Connect GitLab or Bitbucket and share repositories

1

Connect your account

On Git connections, in the GitLab or Bitbucket card, click Connect GitLab or Connect Bitbucket, or Connect another account when one is already connected. Approve Sevalla on GitLab or Bitbucket, then return to the Sevalla tab.
2

Share repositories

Next to your account, click Share repositories. Select the repositories the company can deploy, then click Share.
The repositories show under your account in the card, with the number of applications and static sites that use them. GitLab and Bitbucket connect the account you’re signed in to on their site. To connect another of your accounts, sign out of GitLab or Bitbucket first.

Disconnect an account or stop sharing

You can also stop sharing or disconnect your GitLab and Bitbucket accounts from My account.

Switch to the new Git integration

New companies start on the new Git integration and skip this. A company that still deploys through the previous Git integration sees a guided switch on Git connections, in three steps. Your services keep running the whole time.
The Git connections page of a company on the previous Git integration, explaining the new Git integration with a diagram of repositories deploying through personal accounts before and through the company afterThe Git connections page of a company on the previous Git integration, explaining the new Git integration with a diagram of repositories deploying through personal accounts before and through the company after
1

Connect your Git accounts

Connect the company’s GitHub organizations, and share the GitLab and Bitbucket repositories the company deploys from, as in Connect GitHub and Connect GitLab or Bitbucket and share repositories.
2

Check every repository

Step 2 lists every private repository the company’s applications, pipelines and static sites deploy from, and whether the new connections reach it. Fix the ones that aren’t reachable, then click Check again. Checking also adds the Sevalla webhook to GitLab and Bitbucket repositories that deploy on push.
3

Switch Git integration

Click Switch Git integration. In the dialog, select I understand that only support can move the company back., then click Switch.
Every application, pipeline and static site moves to the new Git integration at once. Nothing is redeployed, and nothing is removed from GitHub, GitLab or Bitbucket. From then on, deployments, automatic deployments and preview apps read their repository through the connections on Git connections.
Step 1, Connect your Git accounts: a GitHub organization with its repositories, and a GitLab and a Bitbucket account with the repositories they shareStep 1, Connect your Git accounts: a GitHub organization with its repositories, and a GitLab and a Bitbucket account with the repositories they share
Step 2, Check every repository: 8 of 8 reachable, with the count of reachable repositories for GitHub, GitLab and Bitbucket and a Check again buttonStep 2, Check every repository: 8 of 8 reachable, with the count of reachable repositories for GitHub, GitLab and Bitbucket and a Check again button
Step 3, Switch Git integration: what changes when you switch, and a Switch Git integration buttonStep 3, Switch Git integration: what changes when you switch, and a Switch Git integration button
The Switch Git integration dialog with the I understand that only support can move the company back option and Cancel and Switch buttonsThe Switch Git integration dialog with the I understand that only support can move the company back option and Cancel and Switch buttons

Switch before every repository is reachable

You can switch while some repositories aren’t reachable yet: the button then reads Switch anyway, and the dialog says what fails. After the switch: Until every repository is fixed, Git connections shows what’s left, on every visit:
  • Above the connection cards, a short warning that counts the repositories, for example 1 repository isn’t reachable yet, or 3 repositories still need a fix when they need different fixes. It has a Check again button and a link to the list.
  • Below the cards, Repositories to fix lists each repository under its provider, with its status and the reason, for example that a private submodule it uses isn’t connected, with the submodule’s name. Each provider has a fix button: Add another organization for GitHub, and Share repositories for GitLab and Bitbucket (Connect GitLab or Connect Bitbucket when the connected accounts aren’t yours).
Check again checks the repositories again without reloading the page. The warning and the list go away once every repository is reachable.
Git connections after Switch anyway: a warning that repositories still need a fix, with a Check again button, above the connection cards, and the Repositories to fix list with each repository, its reason and a fix button below themGit connections after Switch anyway: a warning that repositories still need a fix, with a Check again button, above the connection cards, and the Repositories to fix list with each repository, its reason and a fix button below them

Switch back

The switch is one-way for you. To move the company back to the previous Git integration, contact support.

Private submodules

On the new Git integration, Sevalla fetches a private submodule when its repository is also connected (GitHub) or shared (GitLab and Bitbucket) on Git connections. Sevalla prepares access for at most 50 submodule repositories per deployment, and public submodules count toward that limit. Public submodules past 50 still clone; private ones past it aren’t fetched, and the build log says to contact support.

Sign-in with Git

Signing in to Sevalla with GitHub, GitLab or Bitbucket doesn’t depend on the company’s Git connections, and switching the company doesn’t change it. Each person moves their own Git sign-in on My account: see Git login identities.