无法从 github 克隆私有仓库

时间:2021-06-07 11:11:59

标签: git github

我正在学习本教程 - link

在这里,您需要访问一个名为 charting_library 的私有存储库,我就是这样做的。

如文档中所述,The Charting Library is free, but its code is in the private repository on GitHub. Make sure that you have access to this repository: https://github.com/tradingview/charting_library/. 我没有看到任何错误,但我可以在这里看到代码。

所以按照文档,当我运行这个

git clone https://github.com/tradingview/charting-library-tutorial.git

repo 被克隆,没问题。但是当我运行下一个命令时

git submodule update --init --recursive

我收到以下错误

Cloning into 'C:/coding/charting-library-tutorial/charting_library_clonned_data'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:tradingview/charting_library.git' into submodule path 'C:/coding/charting-library-tutorial/charting_library_clonned_data' failed
Failed to clone 'charting_library_clonned_data'. Retry scheduled
Cloning into 'C:/coding/charting-library-tutorial/charting_library_clonned_data'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:tradingview/charting_library.git' into submodule path 'C:/coding/charting-library-tutorial/charting_library_clonned_data' failed
Failed to clone 'charting_library_clonned_data' a second time, aborting

我在这里做错了什么?

0 个答案:

没有答案