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

项目场景:

配置仓库时出现的问题


问题描述

配置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协议。
github 出现 fatal: protocol ‘https‘ is not supported_第1张图片


解决方案:

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

你可能感兴趣的:(常见问题,github)