【发布时间】:2016-05-01 23:29:50
【问题描述】:
一段时间后重新开始工作,我似乎不知道如何克隆 bitbucket 存储库。知道为什么我会收到“未找到”错误吗?
git clone --verbose https://bitbucket.org/helllamer/mod_openid
Cloning into 'mod_openid'...
remote: Not Found
fatal: repository 'https://bitbucket.org/helllamer/mod_openid/' not found
系统:
git version 1.9.1
uname -a Linux openvpnas2 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
【问题讨论】:
-
转到您要克隆的 bitbucket 存储库,在左侧窗格中,有一个
clone选项。单击它将为您提供指向存储库的链接。复制它并尝试git clone url-from-bitbucket。这应该可行! -
@SajibAcharya 很抱歉,但没有“克隆”选项。我能找到的唯一网址是 "bitbucket.org/helllamer/mod_openid" 。如果您发现其他情况,请告诉我。
-
你是从哪里得到这个网址的?当我点击它时,它会显示 404。此外,bitbucket 克隆网址与您发布的网址不同。有点像
https://username@bitbucket/path/to/project。你确定你使用的是正确的网址? -
另外,如果是 git repo,最后应该有一个
.git。您的网址格式错误。 -
...然后有些人在没有给出任何具体原因的情况下对问题投了反对票-_-