Git fatal: protocol 'https' is not supported

前端 未结 15 1549
我寻月下人不归
我寻月下人不归 2021-01-29 21:32

I am going through Github\'s forking guide: https://guides.github.com/activities/forking/ and I am trying to clone the repository onto my computer. However, running the command:

15条回答
  •  心在旅途
    2021-01-29 22:00

    I got this error when I was trying to be smart and extract the cloning URL from the repo's URL myself. I did it wrong. I was doing:

    git@https://github.company.com/Project/Core-iOS
    

    where I had to do:

    git@github.company.com:Project/Core-iOS.git
    

    I had 3 mistakes:

    • didn't need https://
    • after .com I need : instead of /
    • at the end I need a .git

提交回复
热议问题