简体   繁体   English

Git Credential Manager-启用代理后不加载

[英]Git Credential Manager - not loading when proxy enabled

When working with corporate proxy - GCM not loading on clone/push from command line 使用公司代理时-GCM无法从命令行加载克隆/推送

OS - Windows 10 LTSC 1809 Visual Studio 2017/2015 Git for windows 2.21 Repo - Azure DevOps server 2019 with update 1(On Premise) Proxy - Corporate proxy 操作系统-Windows 10 LTSC 1809 Visual Studio 2017/2015 Windows 2.21 Git的Git-具有更新1(内部部署)代理的Azure DevOps服务器2019-企业代理

I tried setting the Git Proxy but none helped 我尝试设置Git代理,但没有帮助

Only when i change the Proxy Setting on the system i can get the GCM to show See attached images 仅当我更改系统上的代理设置时,我才能使GCM显示

in that case i cannot access the web portal - or use visual studio clone/push 在这种情况下,我无法访问Web门户-或使用Visual Studio克隆/推送

默认代理设置

Clone Fails - GCM not loading 克隆失败-GCM无法加载 默认设置克隆失败

Web Portal works 门户网站的作品

Web Portal正在使用默认设置

旁路代理已禁用

GCM LOADING Clone successful GCM LOADING Clone成功 GCM载入 成功克隆并加载GCM

Web Portal Fails Web门户失败

Web Portal失败错误503-带旁路

Need to add 需要添加

git config --global credential.{TFSADDRESS}.authority Basic git config --global凭证。{TFSADDRESS} .authority Basic

The default settings is Auto 默认设置为自动

https://github.com/microsoft/Git-Credential-Manager-for-Windows/blob/master/Docs/Environment.md#gcm_authority https://github.com/microsoft/Git-Credential-Manager-for-Windows/blob/master/Docs/Environment.md#gcm_authority

When using Client(in work-group) to connect to TFS server(in domain) - NTLM or AUTO cannot be used 当使用客户端(在工作组中)连接到TFS服务器(在域中)时-无法使用NTLM或AUTO

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM