📅  最后修改于: 2022-03-11 14:59:45.557000             🧑  作者: Mango
My server is behind a proxy and I got the same error, I solved this modifying ~/.gitconfig adding the proxy conf:
[http]
proxy = http://xxx.xxx.xxx.xxx:pppp