在我的公司,我们在Intranet上有一个git服务器。我们应该通过代理连接它。但是我无法在Xcode 9上实现这一点。
代理设置在网络偏好设置,〜/ .curlrc,〜/ .gitconfig,〜/ .bash_profile,/ etc / gitconfig,/ etc / profile上。 Xcode不尊重任何一个。
在尝试克隆Xcode中的repo时,它显示了以下错误:
curl error: Could not resolve host: myintranetdomain (-1)
我可以克隆存储库onterminal(在设置〜/ .bash_profile之后)。 Xcode无法拉动,推动此回购。
我们可以做些什么来通过代理将Git服务器与Xcode连接?
P.S。 Xcode 8.2.1尊重〜/ .gitconfig
中的代理设置