git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080
1080 是你自己的代理端口
本文介绍如何设置Git的全局代理,通过使用SOCKS5代理服务器,确保所有Git操作都能通过指定的代理端口进行,这对于在需要代理的网络环境中进行Git操作尤为重要。
git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080
1080 是你自己的代理端口
2070
3511
942
5633
1974

被折叠的 条评论
为什么被折叠?