执行git clone提示“fatal: unable to access”

分类:技术 3.12k浏览

如在github上下载一个开源项目,本地git环境已经建好,之前也用过,本地仓库已经建好。当执行git clone https://github.com/openstf/stf.git 命令的时候,一直提示无法访问,

提示如

fatal: unable to access ‘https://github.com

 

解决方法:把https改成git即可