github 出现 fatal: protocol ‘https‘ is not supported

2023-12-28 10:42:02

项目场景:

配置仓库时出现的问题


问题描述

配置github 仓库环境时出现 fatal: protocol 'https' is not supported 出错误

***@LAPTOP-GLG1H7C1 MINGW64 /d/WorkSpace/00_myTest
$ git clone https://github.com/Responsibility/00_myTest.git
Cloning into '00_myTest'...
fatal: protocol 'https' is not supported

原因分析:

提示:这里填写问题的分析:
原因是我配置的是SSH协议的链接,并没有配置Https的链接,所以导致克隆时并不支持https协议。
reason


解决方案:

***@LAPTOP-GLG1H7C1 MINGW64 /d/WorkSpace/00_myTest
$ git clone git@github.com:Responsibility/00_myTest.git
Cloning into '00_myTest'...
warning: You appear to have cloned an empty repository.

文章来源:https://blog.csdn.net/qq_38757779/article/details/135193975
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。