在本地git配置中取消设置代理

问题描述

当我将Git与托管在多个服务器上的存储库一起使用时,我想执行以下操作:

.gitconfig 中,设置(全局)代理:

#.gitconfig
[http]
    proxy = <ssss://127.0.0.1:pppp>  #I need this for the majority of my repos

对于一些特定的存储库,我不需要此代理。所以我想知道是否有可能仅在本地 .git / config 中“取消设置”代理。像这样:

#.git/config
[http]
    proxy = ""  #unset the global proxy

这可以通过某种方式完成吗?谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)