[Git] An error was reported when pushing the code, fatal: unable to access xxx Recv failure: Connection was reset

In fact, it is very simple, just reconfigure the proxy

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

After the configuration is complete, you can use the following commands to view and modify the configuration of Git:

git config --global --edit

Guess you like

Origin blog.csdn.net/m0_64880608/article/details/132177547