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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot