How to troubleshoot a url error with “Port number ended with 'y'”?

前端 未结 5 2057
失恋的感觉
失恋的感觉 2021-02-08 15:54

While trying to clone an already existing repository from gitlab into my local drive. I used the format

$ git clone https://github.com/libgit2/libgit2  mylibgit          


        
5条回答
  •  一整个雨季
    2021-02-08 16:57

    I had similar problem. Just corrected(removed git@ and port number) URL in .git/config file and it worked.

    [remote "origin"] url = https://git@gitlab.com:xxxxx/yyyyyy/

    To

    [remote "origin"] url = https://gitlab.com/yyyyyy/

提交回复
热议问题