git clone 报错 fatal: protocol '–https' is not supported 解决办法

版本:git 2.22.0
系统:win7旗舰版

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

很多人都说这样解决了,原因不知道。

720375-20190810143709944-2069902099.png

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.

转载于:https://www.cnblogs.com/ouyida3/p/11331538.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值