2
我在Intranet上使用Git。因此,要访问Intranet的存储库,我不需要代理。要访问远程子模块,我需要通过代理。Git - 如何设置gitproxy,使用内部网的代理服务器,并使用其他代理服务器
我无法使用gitconfig全局_proxy设置(_proxy = my.proxy.address)。如果我全局设置代理,则无法访问Intranet。
我目前的做法是使用[core]下的gitproxy条目。
gitproxy = none for my.intranet.address
gitproxy = my.proxy.address
但这并不奏效。现在我已经没有想法了。
o我在做什么错?
o有没有更简单的方法?
荣誉提前。 \ O/\ O/