Uploading and Downloading Code
- Ensure that the network connection is up and running.
Enter telnet *************.com 22 on the client.
If command not found is displayed, the network cannot access CodeArts Repo.
- Check if the client is trusted by CodeArts Repo.
If the system prompts you to enter a password when you pull or push code, check whether the public key has been added to CodeArts Repo.
If the public key has been added, run $ ssh -vT git@*************.com to check whether the trust relationship is established.
If the following information is displayed, the trust relationship is established.
- If the fingerprints of both parties are changed after the trust relationship is established, a public key authentication error is reported during commit attempts. In this case, perform the following operations:
- Delete the lines related to *************.com from the ~/.ssh/known_hosts file.
- Enter push, pull, or ssh -T git@*************.com.
- Enter yes when asked whether to trust the public key of the server.
- The code download is successful. If the target branch of the push is protected, the code fails to be pushed.
- Contact the repository administrator to unprotect the branch. The code can be pushed after the protection is canceled.
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