Git fatal: protocol 'https' is not supported

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

    You might be using a windows or linux computer where you have not logged into git hub so the certificate is not verified. From the sytem where you are getting error login to github with the credential then try to use the command it will work . Good Luck

    0 讨论(0)
  • 2021-01-29 21:40
    You tried this:

    clt + V

    Just right click and click on paste

    Hope this will work

    0 讨论(0)
  • 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.
    
    0 讨论(0)
  • 2021-01-29 21:43

    Edit: This particular users problem was solved by starting a new terminal session.

    A ? before the protocol (https) is not support. You want this:

    git clone git@github.com:octocat/Spoon-Knife.git

    or this:

    git clone https://github.com/octocat/Spoon-Knife.git

    0 讨论(0)
  • 2021-01-29 21:43

    Simple Answer is Just remove the https

    Your Repo. : (git clone https://........)

    just Like That (git clone ://.......)

    and again type (git clone https://........)

    Problem Solve 100%...

    0 讨论(0)
  • 2021-01-29 21:44

    I have tried a lot of ways to solve this. But I am failed again and again. Then I did this:

    Open Git Bash > go to your directory > paste the git clone https://shahadat@bitbucket.org/*******.git after that a command prompt will be shown to give the login credentials. Give the credentials and clone your project.

    0 讨论(0)
提交回复
热议问题