Updated on 2025-04-03 GMT+08:00

Installing and Configuring Git

Constraints

  • Currently, CodeArts Repo cannot be managed using GitHub desktop.
  • 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: test.com indicates the domain name for Git upload/download in CodeArts Repo, and tls1_2 indicates that the TLS protocol version is TLS1.2. For different Git client solutions, see Compatible TLS Protocol Versions with CodeArts Repo
    openssl s_client -connect test.com:443 -tls1_2

Install Git Client

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

Windows Git client usernames can include letters, numbers, and common symbols. Characters with ASCII values less than or equal to 32, as well as ".", ",", ":", ";", "<", ">", """, "\", and "/" cannot be used at the beginning or end of the username. For easier management, you can use your CodeArts Repo username. Enter the following commands in Git Bash:
git config --global user.name your username
git config  --global user.email your_email_address