Bitbucket git“无法访问404”

时间:2018-08-02 14:54:57

标签: git proxy bitbucket pull

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

  

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

我输入以下命令:

$ git pull origin develop

更新IP Bitbucket后出现此错误。 请帮我。我无法工作,因为此错误总是出现。

已更新:

  

git config -l <​​/ p>

    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

1 个答案:

答案 0 :(得分:1)

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