有没有办法从它失败的地步继续Git克隆? [英] Is there any way to continue Git clone from the point where it failed?

查看:163
本文介绍了有没有办法从它失败的地步继续Git克隆?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天正在克隆这个开放的嵌入式项目。由于连接问题,克隆失败。我再次启动了命令,并从头开始克隆。



有没有办法从它失败的位置开始我的克隆?

解决方案

不幸的是,这是无法完成的。请参阅


  • 继续中断git clone


    git克隆不能重新启动。您需要 rm -rf common,然后重新开始然后从头开始复制。



  • 继续git clone在中断之后


    不幸的是,我们没有足够的GSoC插槽来支持
    可重启克隆。



    有关如何在列表中实现此功能的讨论。







    不幸的是,我们这些了解本地协议如何工作
    的人不能就如何重新启动达成协议。如果您的
    确实阅读了关于此主题的档案,您会看到Nico和I
    不同意如何执行此操作。 IIRC Nico的立场是,实现重新启动不是





  • ul>

    您必须重新启动克隆。


    I was cloning the open embedded project yesterday. Because of connection problems, the cloning failed. I started the command again and cloning started from the beginning.

    Is there any way to start my clone from the point where it failed?

    解决方案

    Unfortunately this cannot be done. See

    • Continue interrupted git clone

      No. git clone cannot be restarted. You'll need to rm -rf common, and then restart then clone from the beginning.

    • Continue git clone after interruption

      Unfortunately, we did not have enough GSoC slots for the project to allow restartable clones.

      There were discussions about how to implement this on the list, though.

      Unfortunately, those of us who know how the native protocol works can't come to an agreement on how it might be restartable. If you really read the archives on this topic, you'll see that Nico and I disagree about how to do this. IIRC Nico's position is, it isn't really possible to implement a restart.

    You have to restart the clone.

    这篇关于有没有办法从它失败的地步继续Git克隆?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆