Skip to content
Discussion options

You must be logged in to vote

git pull and push 报错 Failed to connect to github.com port 443: Timed out 的问题

使用全局代理:
git config --global http.proxy 127.0.0.1:1080

为某个 git 项目单独设置代理:
git config --local http.proxy 127.0.0.1:1080

取消代理:
git config --global --unset http.proxy 127.0.0.1:1080

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xiao-ice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants