[英]Trying to clone a git repo it stuck at cloning into
I am using Windows 10 Ver 10.0.19042 Build 19042 , GIT Ver 2.32 when trying to execute the following command using git bash git clone --depth=1 -b carla https://github.com/CarlaUnreal/UnrealEngine.git.
克隆它卡住的carla项目,将消息cloning into '.'
永远。
有时它会产生 output 错误:错误写入“stdout”:损坏 pipe 我尝试了以下解决方案
另外,请注意,我使用命令git clone <git_repo>
从 git 复制了其他存储库,它工作正常
我想毫无问题地克隆 repo 有任何帮助吗?
我刚刚测试了相同的命令(Windows 10 上的 Git 2.32)
--depth=1
语法在 CMD 和 git bash 中运行良好。
如果您想使用 SSH 进行测试,您必须执行以下操作:
git clone --depth=1 -b carla git@github.com/CarlaUnreal/UnrealEngine.git .
(假设您在个人资料中注册了一个公钥,考虑到这是一个私有存储库)
如果您为您的帐户启用了 ssh,则原因相同。 我也遇到过它,使用以下命令,您可以轻松避免克隆过程中出现挂起问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.