[英]Can't Clone Git Repository
I am trying to clone the repository at https://github.com/aporter/coursera-android-labs/tree/master/TheActivityClass/Lab2_ActivityLab with the command 我正在尝试使用以下命令在https://github.com/aporter/coursera-android-labs/tree/master/TheActivityClass/Lab2_ActivityLab处克隆存储库
git clone https://github.com/aporter/coursera-android-labs/tree/master/TheActivityClass/Lab2_ActivityLab
But it says it can't find the repository. 但是它说找不到存储库。 This should be simple and I can clone other repositories. 这应该很简单,我可以克隆其他存储库。 Thanks. 谢谢。
The path you gave is not a repo, but a sub directory of that repo. 您提供的路径不是存储库,而是该存储库的子目录。
Try this instead: 尝试以下方法:
git clone https://github.com/aporter/coursera-android-labs
你可以克隆它
git clone https://github.com/aporter/coursera-android-labs/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.