git clone 報錯 fatal: protocol '–https' is not supported 解決辦法


版本:git 2.22.0
系統:win7旗艦版

  1. 先把https去掉
  2. 再把https加上
  3. 神奇的事情出現了,這樣就可以了。

很多人都說這樣解決了,原因不知道。

Administrator@BWE8QXQ0P5SNBL7 MINGW64 /g/20190810/git/github
$ git clone –https://github.com/ouyida3/springboot-tutorial.git
Cloning into 'springboot-tutorial'...
fatal: protocol '–https' is not supported

Administrator@BWE8QXQ0P5SNBL7 MINGW64 /g/20190810/git/github
$ git clone –//github.com/ouyida3/springboot-tutorial.git

Administrator@BWE8QXQ0P5SNBL7 MINGW64 /g/20190810/git/github
$ git clone https://github.com/ouyida3/springboot-tutorial.git
Cloning into 'springboot-tutorial'...
remote: Enumerating objects: 182, done.
remote: Counting objects: 100% (182/182), done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 260 (delta 56), reused 157 (delta 32), pack-reused 78
Receiving objects: 100% (260/260), 91.71 KiB | 157.00 KiB/s, done.
Resolving deltas: 100% (73/73), done.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM