How to resume a git pull/clone after a hung up unexpectedly?

前端 未结 2 753
醉酒成梦
醉酒成梦 2021-02-02 08:00

I do a git pull/clone to some repository (mainly github ones). Sometimes after a few minutes the download crashes.

Here is a log.

remote: Counting object         


        
2条回答
  •  花落未央
    2021-02-02 08:38

    If a pull hung up, it will not write any changes to your filesystem. This is because, if it would, your local repository would not be in a stable state.

    There is no way to resume a pull/clone. So your only choice is to pull/clone again.

提交回复
热议问题