【问题标题】:Bitbucket git "unable to access 404"Bitbucket git“无法访问 404”
【发布时间】:2019-01-10 09:39:30
【问题描述】:

我正在尝试使用 git 从 BitBucket 获取最新提交,但 git bash 显示下一个文本:

致命:无法访问“https://myname@bitbucket.org/myname/project.git/”:CONNECT 后从代理收到 HTTP 代码 404

我输入以下命令:

$ git pull origin develop

IP Bitbucket 更新后出现此错误。 请帮我。我不能工作,因为这个错误总是出现。

更新:

git 配置 -l

    core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
diff.astextplain.textconv=astextplain
rebase.autosquash=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
credential.helper=manager
core.autocrlf=true
core.excludesfile=C:\Users\MyName\Documents\gitignore_global.txt
http.proxy=http://www.google.com:80
core.repositoryformatversion=0
core.filemode=false
:...skipping...
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
diff.astextplain.textconv=astextplain
rebase.autosquash=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
credential.helper=manager
core.autocrlf=true
core.excludesfile=C:\Users\MyName\Documents\gitignore_global.txt
http.proxy=http://www.google.com:80
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
remote.origin.url=https://myname@bitbucket.org/myname/project.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master

【问题讨论】:

  • 网址是否正确?你有适当的权限吗?
  • @Dyno 是的,网址绝对正确。我愿意,因为我是所有者。
  • git config -l 的输出是什么?
  • 请将其格式化为代码并将其编辑到问题本身中。这很难阅读。
  • 你为什么要通过 google.com:80 代理?

标签: git proxy bitbucket pull


【解决方案1】:

我已经解决了这个问题。我在 git 全局设置中删除了 http.proxy。

【讨论】:

    猜你喜欢
    • 2018-06-19
    • 2018-01-16
    • 2018-06-13
    • 1970-01-01
    • 1970-01-01
    • 2020-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多