我们公司经常强迫我们更改密码(包括GIT存储库)。
所以现在当我尝试从VSCODE推送时,我收到以下错误:
我按照它说的说:
做了一个:
git config --global credential.helper manager
我进入控制面板并手动更新密码。然后重新启动VSCODE并尝试再次推送。
但我仍然得到:
fatal: unable to access 'https://[email protected]/scm/pntci/orchestrator.git/': Failed to connect to localhost port 3128: Connection refused
我知道我可以到达那里,因为如果我把网址放在我的浏览器中,就没有问题了。
这看起来更像是连接问题,而不是身份验证(缓存或不通过凭据帮助程序)问题。
作为I mentioned here,请确保您没有代理设置。 或者至少定义一个环境变量:
NO_PROXY=localhost,.draper.com
(假设您在这里联系LAN上的服务器,而不是在互联网上)