Help Center/ CodeArts Repo/ FAQs/ Git Issues/ How Does Git Identify Repository Administrators?
Updated on 2023-09-06 GMT+08:00

How Does Git Identify Repository Administrators?

  • A user needs to enter the username and password when connecting to a cloud repository via HTTPS.

    A username is in the format of account name/IAM username, or account name/account name (for Huawei Cloud). Git can judge the role of the user in a repository based on the username. For example, a username in the latter format indicates that the user is a repository administrator.

  • A user needs to set an SSH key before connecting to a cloud repository via SSH.

    In CodeArts Repo, one SSH key maps to only one username. Git records the mapping between a key and username when a user accesses the cloud repository, and uses the mapping to judge the repository role of the user.