git proxy代理 本文共有662个字,关键词: 临时 ``` git clone --config http.proxy=http://127.0.0.1:7897 --config https.proxy=http://127.0.0.1:7897 https://github.com/FoundationAgents/OpenManus.git ``` 要为所有仓库设置代理,可以使用以下命令: ``` git config --global http.proxy http://127.0.0.1:7897 git config --global https.proxy http(s)://127.0.0.1:7897 ``` 如果你只想为当前仓库设置代理,可以使用: ``` git config http.proxy http:////127.0.0.1:7897 git config https.proxy https:////127.0.0.1:7897 ``` 如果你需要取消全局代理设置,可以使用以下命令: ``` git config --global --unset http.proxy git config --global --unset https.proxy ``` 对于仓库级别配置: ``` git config --unset http.proxy git config --unset https.proxy ``` 「一键投喂 软糖/蛋糕/布丁/牛奶/冰阔乐!」 赞赏 × 梦白沙 (๑>ڡ<)☆谢谢老板~ 1元 2元 5元 10元 50元 任意金额 2元 使用微信扫描二维码完成支付 版权声明:本文为作者原创,如需转载须联系作者本人同意,未经作者本人同意不得擅自转载。 经验累积,随手发现 2026-01-04 评论 17 次浏览