error: while accessing https://github.com/easy-mock/easy-mock/info/refs

如题:

在git出错

[root@zhoulei opt]# git clone https://github.com/easy-mock/easy-mock
Initialized empty Git repository in /opt/easy-mock/.git/
error:  while accessing https://github.com/easy-mock/easy-mock/info/refs

fatal: HTTP request failed

解决:

git config --global url."git://github.com/easy-mock/easy-mock".insteadOf "https://github.com/easy-mock/easy-mock"
 

猜你喜欢

转载自blog.csdn.net/zhou_438/article/details/85322314