Connecting to Git

If you are working with a private repository, you need to connect your Git account to AtScale.

Note: If you are working with a public repository, you do not need to connect your Git account. The repository only needs to be added to AtScale as described in Managing Git Repositories in AtScale.

Prerequisites

This procedure assumes the following:

  • The repository you want to access has been added to AtScale by an admin. For instructions, see Managing Git Repositories in AtScale.
  • You have a Git account with permission to access and update the repository.

Connecting your Git account to AtScale

To connect your Git account to AtScale:

  1. Generate a personal access token. This is required for AtScale to authenticate with your Git vendor.

    • GitHub: If you use GitHub, you must generate a classic personal access token. For instructions, refer to the GitHub documentation.
    • GitLab: For instructions on generating a GitLab token, refer to the GitLab documentation.
  2. In AtScale, click the profile icon in the top right corner. The Account panel opens.

  3. In the Git section of the panel, enter the following details:

    • Username: Enter your Git username.
    • User Display Name: Enter a display name to use within AtScale.
    • Email: Enter the email address associated with your Git account.
    • Token: Enter the personal access token you created above.
  4. Click Update.

Note: Only the Token field is validated through the Git API. All other fields are required, but are not validated and simply pass through to Git.