fatal: protocol '–https' is not supported

  • 问题

github创建repository后,使用https进行git clone的时候,遇到git bash上报错:

fatal: protocol '–https' is not supported

这个是复制出来的结果,可以看到,https前有多余符号,git bash上实际显示如下图:

  • 解决方法

删掉https前的伪空格,重新打个空格就好了。

posted @ 2022-07-04 11:27  Jason_CodingNoob  阅读(1009)  评论(0)    收藏  举报