问题描述:fatal: unable to access ‘https://github.com/hyperledger/fabric.git/’: Failed to connect to
简单来说就是代理问题
解决办法
这种比较具体
打开环境变量设置
env|grep -i proxy
则会出现下图
取消代理即可,命令如下:
unset http_proxy
unset ALL_PROXY
unset no_proxy
unset NO_PROXY
unset all_proxy
再次执行env|grep -i proxy ,若无显示即可使用
第二种方法
取消代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
一般用这种即可解决大部分问题,解决不了就用第一种。
亲测可用