Git fatal: protocol 'https' is not supported

前端 未结 15 1640
我寻月下人不归
我寻月下人不归 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 21:41

    Use http instead of https; it will give warning message and redirect to https, get cloned without any issues.

    $ git clone http://github.com/karthikeyana/currency-note-classifier-counter.git
    Cloning into 'currency-note-classifier-counter'...
    warning: redirecting to https://github.com/karthikeyana/currency-note-classifier-counter.git
    remote: Enumerating objects: 533, done.
    remote: Total 533 (delta 0), reused 0 (delta 0), pack-reused 533
    Receiving objects: 100% (533/533), 608.96 KiB | 29.00 KiB/s, done.
    Resolving deltas: 100% (295/295), done.
    

提交回复
热议问题