如何解决Ubuntu服务器拉取github代码失败

使用git clone拉取GitHub代码时出现以下错误:

fatal: unable to access 'https://github.com/XXX': Failed to connect to github.com port 443 after 133795 ms: Connection timed out

通过查找资料,找到解决办法,可以通过运行以下代码解决:

git config --global --unset http.proxy

你可能感兴趣的:(github)