Git Providers
Git Providers — sometimes known as software forges or Source Code Managers (SCMs) — provide a set of tools to host and collaborate on codebases using Git.
Daytona allows you to integrate your preferred Git Provider, enhancing your development workflow. This integration enables you to access and manage your repositories directly within Daytona, simplifying workspace creation from existing projects.
By adding a Git Provider, your credentials are securely embedded into your Workspaces. This allows for seamless Git operations without repeated authentication.
Add a Git Provider
- Run the following command to add a Git Provider:
Upon running this command, Daytona will prompt you to select the Git Provider you want to add.
- Select the Git Provider you want to configure from the list:
-
Select if you are hosting repositories on GitHub.
-
Select if you are hosting repositories on GitLab.
-
Select if you are hosting repositories on Atlassian’s Bitbucket Cloud platform.
-
Select if you are hosting repositories on GitHub Enterprise Server.
-
Select if you are hosting repositories on GitLab’s self-hosted platform.
Self-hosted GitLab Community Edition (CE) installations, GitLab Self-Managed, and GitLab Dedicated platforms are supported.
-
Select if you are hosting repositories on Bitbucket Server.
-
Select if you are hosting repositories on Codeberg.
-
Select if you are hosting repositories on Gitea.
-
Select if you are hosting repositories on Gitness.
-
Select if you are hosting repositories on Azure DevOps.
-
Select if you are hosting repositories on AWS CodeCommit.
- Enter your Git Provider credentials for Daytona to authenticate and enable secure access to your repositories.
Some Git Providers require additional information such as your username or the URL of your self-managed API instance to complete the configuration.
List Connected Git Providers
Daytona allows you to keep track of your Git Providers by listing all previously created Git Providers.
- Run the following command to list currently connected Git Providers:
Upon running this command, Daytona will display a list of your connected Git Providers.
Delete a Git Provider
Daytona allows you to delete Git Providers, helping you manage and delete those that are no longer needed. Once a Git Provider is deleted, you will not be able to manage or deploy Workspaces without adding another Git Provider.
- Run the following command to delete a Git Provider:
Upon running this command, Daytona will display a list of existing Git Providers you can delete.
- Select the Git Provider you want to delete.
GitHub
Daytona allows you to connect your GitHub account and access your repositories directly from Daytona.
- Run the following command to add GitHub as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select GitHub
from the list.
After selecting GitHub as your Git Provider, you will be prompted to enter a Personal Access Token.
For more information on creating a Personal Access Token, visit GitHub’s Creating a personal access token (classic) documentation.
- Enter your Personal Access Token for Daytona to authenticate and enable secure access to your GitHub repositories.
Upon successful authentication, Daytona will display the following message:
GitLab
Daytona allows you to connect your GitLab account and access your repositories directly from Daytona.
- Run the following command to add GitLab as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select GitLab
from the list.
After selecting GitLab as your Git Provider, you will be prompted to enter a Personal Access Token.
For more information on creating a Personal Access Token, visit GitLab’s Create a personal access token documentation.
- Enter your Personal Access Token for Daytona to authenticate and enable secure access to your GitLab repositories.
Upon successful authentication, Daytona will display the following message:
Bitbucket
Daytona allows you to connect your Bitbucket account and access your repositories directly from Daytona.
- Run the following command to add Bitbucket as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Bitbucket
from the list.
After selecting Bitbucket as your Git Provider, you will be prompted to enter a Username (your Atlassian username) and a Personal Access Token (App Password).
For more information on creating a Personal Access Token, visit Bitbucket’s Create an App password documentation.
- Enter your Username and Personal Access Token for Daytona to authenticate and enable secure access to your Bitbucket repositories.
Upon successful authentication, Daytona will display the following message:
GitHub Enterprise Server
Daytona allows you to connect your GitHub Enterprise Server account and access your repositories directly from Daytona.
- Run the following command to add GitHub Enterprise Server as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Other
from the list, and then select GitHub Enterprise Server
.
After selecting GitHub Enterprise Server as your Git Provider, you will be prompted to enter a Self-Managed API URL (the base URL for your GitHub Enterprise Server instance’s API) and a Personal Access Token.
For more information on creating a Personal Access Token, visit GitHub’s Creating a personal access token (classic) documentation.
- Enter your Self-Managed API URL and Personal Access Token for Daytona to authenticate and enable secure access to your Github Enterprise repositories.
Upon successful authentication, Daytona will display the following message:
GitLab Self-Managed
Daytona allows you to connect your GitLab Self-Managed account and access your repositories directly from Daytona.
- Run the following command to add GitLab Self-Managed as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Other
from the list, and then select GitLab Self-managed
.
After selecting GitLab Self-Managed as your Git Provider, you will be prompted to enter a Self-Managed API URL (the base URL for the self-hosted GitLab API) and a Personal Access Token.
For more information on creating a Personal Access Token, visit GitLab’s Create a personal access token documentation.
- Enter your Self-Managed API URL and Personal Access Token for Daytona to authenticate and enable secure access to your GitLab Self-Managed repositories.
Upon successful authentication, Daytona will display the following message:
Bitbucket Server
Daytona allows you to connect your Bitbucket Server account and access your repositories directly from Daytona.
- Run the following command to add Bitbucket Server as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Other
from the list, and then select Bitbucket Server
.
After selecting Bitbucket Server as your Git Provider, you will be prompted to enter a Username (your Atlassian username), Self-managed API URL (the base URL for your Bitbucket Server instance’s API), and a Personal Access Token (App Password).
For more information on creating a Personal Access Token, visit Bitbucket’s Create an App password documentation.
- Enter your Username, Self-managed API URL, and Personal Access Token for Daytona to authenticate and enable secure access to your Bitbucket Server repositories.
Upon successful authentication, Daytona will display the following message:
Codeberg
Daytona allows you to connect your Codeberg account and access your repositories directly from Daytona.
- Run the following command to add Codeberg as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Other
from the list, and then select Codeberg
.
After selecting Codeberg as your Git Provider, you will be prompted to enter a Personal Access Token.
For more information on creating a Personal Access Token, visit Codeberg’s Generating an Access Token documentation.
- Enter your Personal Access Token for Daytona to authenticate and enable secure access to your Codeberg repositories.
Upon successful authentication, Daytona will display the following message:
Gitea
Daytona allows you to connect your Gitea account and access your repositories directly from Daytona.
- Run the following command to add Gitea as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Other
from the list, and then select Gitea
.
After selecting Gitea as your Git Provider, you will be prompted to enter a Self-Managed API URL (the base URL for the Gitea installation’s API) and a Personal Access Token.
For more information on creating a Personal Access Token, visit Gitea’s Generating and listing API tokens documentation.
- Enter your Self-Managed API URL and Personal Access Token for Daytona to authenticate and enable secure access to your Gitea repositories.
Upon successful authentication, Daytona will display the following message:
Gitness
Daytona allows you to connect your Gitness account and access your repositories directly from Daytona.
- Run the following command to add Gitness as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Other
from the list, and then select Gitness
.
After selecting Gitness as your Git Provider, you will be prompted to enter a Self-Managed API URL (the base URL for the Gitness installation’s API) and a Personal Access Token.
For more information on creating a Personal Access Token, visit Gitness’ Generate user token documentation.
- Enter your Self-Managed API URL and Personal Access Token for Daytona to authenticate and enable secure access to your Gitness repositories.
Upon successful authentication, Daytona will display the following message:
Azure DevOps
Daytona allows you to connect your Azure DevOps account and access your repositories directly from Daytona.
- Run the following command to add Azure DevOps as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Other
from the list, and then select Azure DevOps
.
After selecting Azure DevOps as your Git Provider, you will be prompted to enter a Self-Managed API URL (the base URL for the Azure DevOps installation’s API) and a Personal Access Token.
For more information on creating a Personal Access Token, visit Azure DevOps’ Create a Personal Access Token documentation.
- Enter your Self-Managed API URL and Personal Access Token for Daytona to authenticate and enable secure access to your Azure DevOps repositories.
Upon successful authentication, Daytona will display the following message:
AWS CodeCommit
Daytona allows you to connect your AWS CodeCommit account and access your repositories directly from Daytona.
- Run the following command to add AWS CodeCommit as a Git Provider:
Upon running this command, Daytona will prompt you to choose a Git Provider you want to add. Select Other
from the list, and then select AWS CodeCommit
.
After selecting AWS CodeCommit as your Git Provider, you will be prompted to enter a Username, a Self-Managed API URL (the base URL for the AWS CodeCommit installation’s API) and a Personal Access Token.
For more information on creating a Personal Access Token, visit AWS CodeCommit’s Authentication and access control documentation.
- Enter your Username, Self-Managed API URL, and Personal Access Token for Daytona to authenticate and enable secure access to your AWS CodeCommit repositories.
Upon successful authentication, Daytona will display the following message: