Wood Chen

git Code Submission Failed: Network Connection Error

0 comments86 views21 words

This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文

This method configures git to use a network proxy as well.

Solution

git config --global https.proxy http://127.0.0.1:7890
git config --global http.proxy http://127.0.0.1:7890
git config --global socks5.proxy http://127.0.0.1:7890

Remove the Configuration

git config --global --unset https.proxy
git config --global --unset http.proxy
git config --global --unset socks5.proxy

Set the Global username and useremail

git config --global user.name wood
git config --global user.email wood@czl.net

Last updated 2024-01-14

Related posts

Comments 0