Because of the proxy configuration, after the git address is changed, the code cannot be pulled, and git can cancel the proxy configuration

View git configuration information

git config --list

 Cancel proxy configuration

#取消http代理
git config --global --unset http.proxy
#取消https代理
git config --global --unset https.proxy

If you want to continue setting up the proxy, then

#http代理
git config --global http.proxy 'socks5://127.0.0.1:1080'
#https代理
git config --global https.proxy 'socks5://127.0.0.1:1080'

Guess you like

Origin blog.csdn.net/k0307x1990y/article/details/126622002