git - 请求的 URL 返回错误 502,企业?

标签 git git-clone

有谁知道 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/

相关文章:

远程操作的 git 服务器信息或 ascii(克隆)

git - 未找到命令 'git.clone'

git - 无法纠正突发 "server certificate verification failed"

尽管提交量很小,但 git Push 在大型代码库上却花费了很长时间——为什么,这可以修复吗?

git - 缺少分支使用 git-svn clone 克隆非标准 svn 存储库

git - 如何在 Windows 7 中使用 git stats

git shallow clone - 我如何删除 "grafted tag"它是什么?

git merge --no-commit 编辑

git - 发送带有未提交更改的 git 存储库的最佳方式?

git - 如何在 Git 中将最后一次提交分成两部分?