Skip to content

Solve the problem of git push and pull reporting error 403 #130

Answered by hixb
xiao-ice asked this question in Q&A
Discussion options

You must be logged in to vote

git pull and push error 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