The remote end hung up unexpectedly while git cloning

后端 未结 30 2564
旧时难觅i
旧时难觅i 2020-11-22 09:02

My git client repeatedly fails with the following error after trying to clone the repository for some time.

What could be the issue here?

30条回答
  •  隐瞒了意图╮
    2020-11-22 09:34

    This is due the internet connectivity issue, i faced the same issue. I did a shallow copy of code using

    git clone --depth 1 //FORKLOCATION
    

    Later unshallowed the clone using

    git fetch --unshallow
    

提交回复
热议问题