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.
-
Select if you are hosting repositories on Gogs.
-
Select if you are hosting repositories on Gitee.
- 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.
- Enter your Git Provider alias to identify it within Daytona.
Upon successful authentication, Daytona will display the following message:
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.
Update a Git Provider
Daytona allows you to update an existing Git Provider, enabling you to apply the latest enhancements and bug fixes.
- Run the following command to update a Git Provider:
Upon running this command, Daytona will display a list of your connected Git Providers.
-
Select the Git Provider you want to update from the list.
-
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.
- Enter your Git Provider alias to identify it within Daytona.
Upon successful update, Daytona will display the following message:
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.
Upon successful selection, Daytona will display the following message:
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
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.
- Enter your Git Provider alias to identify it within Daytona.
Upon successful authentication, Daytona will display the following message:
Gogs
Daytona allows you to connect your Gogs account and access your repositories directly from Daytona.
- Run the following command to add Gogs 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 Gogs
.
After selecting Gogs as your Git Provider, you will be prompted to enter a Self-Managed API URL (the base URL for the Gogs installation’s API) and a Personal Access Token.
To create a Personal Access Token follow these steps:
- Log into Gogs, and click your profile avatar to open the user menu.
- Click
Your Settings
in the user menu. Make sure you have admin access to the repository. - Navigate to
Applications
in the sidebar. - In the Manage personal access tokens section, click Generate New Token.
- Type a name for your token and click Generate Token.
- Copy and save the token securely (it won’t be shown again).
- Enter your Self-Managed API URL and Personal Access Token for Daytona to authenticate and enable secure access to your Gogs repositories.
- Enter your Git Provider alias to identify it within Daytona.
Upon successful authentication, Daytona will display the following message:
Gitee
Daytona allows you to connect your Gitee account and access your repositories directly from Daytona.
- Run the following command to add Gitee 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 Gitee
.
- Enter your Personal Access Token for Daytona to authenticate and enable secure access to your Gitee repositories.
To create a Personal Access Token follow these steps:
- Log into Gitee, and click your profile avatar to open the user menu.
- Click
Settings
in the user menu. Make sure you have admin access to the repository. - Navigate to
Personal access tokens
in the sidebar. - In the Manage personal access tokens section, click Generate New Token.
- Enter a description for your token, and select following scopes:
user_info
projects
pull_requests
groups
emails
- Click Commit to generate the token. You’ll prompted to enter your password for verification.
- Copy and save the token securely (it won’t be shown again).
- Enter your Git Provider alias to identify it within Daytona.
Upon successful authentication, Daytona will display the following message: