Updated on 2024-11-22 GMT+08:00

Installing and Configuring Git

For details about the clients supported by Repo and the installation guide link, see Table 1.

Table 1 Compatible Git clients

Client Name

OS

Official Installation Guide Link

Git client

Windows

Windows Git Client Installation Guide

Linux

Linux Git Client Installation Guide

Mac

Mac Git Client Installation Guide

TortoiseGit

Windows

Windows TortoiseGit Client Installation Guide

After installing the Windows Git client, configure the user name and email address. Enter the following command in Git Bash:
git config --global user.name your username
git config  --global user.email your_email_address

  • Currently, CodeArts Repo cannot be managed using GitHub desktop.
  • The username can contain letters, digits, and common characters, but cannot contain characters no more than 32 in the ASCII code table. It cannot start or end with ., : ; < > " \\ and \. Any of the preceding characters appears at the beginning or end will be ignored. To facilitate management, you can set this parameter to the username of CodeArts Repo.
  • CodeArts Repo supports TLS1.2 and TLS1.3. If Git is of the latest version, run the following command to specify the TLS protocol version: In the preceding command, test.com is the domain name for Git upload/download in CodeArts Repo, and tls1_2 indicates that the TLS protocol version is TLS1.2. For details about different Git client solutions, see TLS protocol versions compatible with CodeArts Repo.
    openssl s_client -connect test.com:443 -tls1_2