-
git pull and push error Failed to connect to github.com port 443: Timed out |
Beta Was this translation helpful? Give feedback.
Answered by
hixb
Jul 15, 2022
Replies: 1 comment
-
` // 为某个 git 项目单独设置代理 // 取消代理 |
Beta Was this translation helpful? Give feedback.
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
`
// 使用全局代理:
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
`