【发布时间】:2012-06-10 02:15:09
【问题描述】:
我刚刚下载了 Git bash,现在我想从 Bitbucket 下载一个存储库。 我有用户名和密码。
当我尝试时:
$ git clone https://xxxxx@bitbucket.org/xxxx/xxxxx.git
我明白了:
Cloning into 'xxxx'...
fatal:https://xxxxx@bitbucket.org/xxxx/xxxxx/info/refs not found did you git
update server-info on the server ?
【问题讨论】:
-
您确定您使用的是正确的网址吗?
-
我从 bitbucket 获得了 url,上面写着 Clone this repository (size: 580 bytes): HTTPS / SSH ...
-
那么你确定 repo 确实存在并且已经初始化了吗?
-
你试过用 ssh 代替 https 吗?您的环境中是否有任何代理/防火墙可以过滤内容?
-
如果您使用了错误的 URL,您将收到该错误消息。