有谁知道 git
的问题是什么?
我在运行 git clone
以从 team foundation server
(tfs) 克隆时遇到此错误。
fatal: unable to access 'http://website.com/_git/project': The requested URL returned error: 502
最佳答案
供引用:在身份验证代理服务器后面的公司环境中,我之前已经编辑了我的 git 全局配置以覆盖代理服务器。更正此问题后,我就可以连接了。
有用的命令:
git config --global --list
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = GuyWicks
[user]
email = guy.wicks@iworkhere.com
[http]
proxy = http://public-cache:8080
[https]
proxy = http://public-cache:8080
我注释掉了四个代理行(#)
关于git - 请求的 URL 返回错误 502,企业?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44594353/