我刚刚下载了 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 中创建存储库时,用户界面会显示您需要的确切克隆命令:
因此,您的克隆命令需要是:
https://用户名@bitbucket.org/用户名/reponame.git
关于git - 从 BitBucket 下载 Git 存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10907863/