git 代理的配置和取消

//配置
git config --global http.https://github.com.proxy socks5://127.0.0.1:port      //port是本地梯子监听的端口

//取消配置
git config --global --unset http.proxy
git config --global --unset https.proxy
posted @ 2023-10-17 10:28  平芜尽处是春山  阅读(89)  评论(0编辑  收藏  举报