我将代码保存在bitbucket中。没有警告git pull只是挂起,经过漫长的等待后说要检查我是否有权访问。我登录bitbucket网站的工作正常。
我找不到用于检查身份验证状态的git命令。 Atlassian最近将bitbucket帐户与atlassian帐户合并。还有其他人找到了解决方案吗?
我在mac osx 10.11.5上。埃尔卡皮坦。
我得到的错误是:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin
ssh: connect to host bitbucket.org port 22: Operation timed out
Here's the error message delivered after several minutes:
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Completed with errors, see above
答案 0 :(得分:1)
ssh: connect to host bitbucket.org port 22: Operation timed out
您的计算机无法连接。尝试运行traceroute bitbucket.org
以查看问题所在。也许重启你的路由器。无论哪种方式,问题都不是使用auth而是首先是连接。