webstrom-git-Huawei Cloud

Recently, the project code management was hosted on Huawei Cloud , and the problems encountered are summarized as follows. ——This is a grudge note, because I have encountered the same mistakes and tried to solve it repeatedly. The current problem is no longer there, but there is no real solution conclusion.

  1. How to log in to HUAWEI CLOUD , connect : https://auth.huaweicloud.com/authui/login.action#/login
    Personal Edition
    Enterprise Edition (click the IAM user login in the above picture, the red box part)

  2. How to access Huawei Cloud Code Management, please refer to Huawei Cloud doc :

  3. login-->Console in the upper right corner of the navigation bar-->Navigation bar service list-->Select Software Development Cloud-Project Management-->Click to use now


  4. There are two ways to establish a connection with the local SSH (general privacy deployment) and HTTPS (public project)
    1) SSH

    select deployment key

    Click set personal SSH key to
    add SSH key (https://codehub.devcloud.huaweicloud. com/codehub/ssh/add) For
    how to add, refer to the help document below. After adding, you will see one. Because of your home computer and personal computer, you have added two

    SSH keys to complete the settings
    2) HTTPS

    here, pay attention to xxx/xxxxx when the user name is to be filled in the clone code (this is easy to cause the user name and password to be filled incorrectly, and the authentication failure error is reported)

  5. How to download and install git
    Online search will have a bunch of tutorials. Here is a brief record of the
    download address of the git official website : https://git-scm.com/download When
    downloading, I encountered problems such as download failure and slowness. Solution: F12 check the code to find the original link, which can be downloaded quickly through Thunder.

    The default installation is fine, no need to worry. Select any folder or right-click on the desktop, and the icon in the red box appears as follows. The installation is successful.

  6. How does webstrom use git to connect to the project hosted to Huawei Cloud ?
    Run webstrom as an administrator, and select git as shown below


    Both the home computer and the company computer are successfully connected via SSH, but I don’t know why I started to report errors when I went to the private computer @_@

    In ssh mode, error 1

    solution is reported , and the administrator runs webstrom.

    The error picture reported by HTTPS was not cut off, the error is early EOF The remote end hung up unexpectedly index-pack failed RPC failed; curl 18 transfer closed with outstanding read data remaining
    Solution: Here is the solution found
     https:/ /stackoverflow.com/questions/38618885/error-rpc-failed-curl-transfer-closed-with-outstanding-read-data-remaining 
    However, network instability may cause clone to fail.

  7. Try pull, push code, get it

Guess you like

Origin blog.csdn.net/NicolasLearner/article/details/112908398