gpt4 book ai didi

git - 有没有办法从失败的地方继续 Git 克隆?

转载 作者:IT王子 更新时间:2023-10-29 01:27:53 29 4
gpt4 key购买 nike

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

有什么方法可以从失败的地方开始我的克隆吗?

最佳答案

不幸的是,这无法完成。见

  • 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.

您必须重新启动克隆。

关于git - 有没有办法从失败的地方继续 Git 克隆?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8587536/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com