search

Home  >  Q&A  >  body text

如何clone github上比较庞大的项目

clone 诸如linux比较庞大的项目,老是会断掉,前功尽弃

如果只是查看源代码,可以打包下载,如果连git记录也要clone下来,该怎么搞?

给我你的怀抱给我你的怀抱2773 days ago721

reply all(4)I'll reply

  • 仅有的幸福

    仅有的幸福2017-04-27 09:05:11

    If you don’t need the full history and just the latest version, you can git clone --depth=1

    If you really need all the history records, in addition to finding a domestic git hosting website as @公子 said, you can also clone it with your own foreign VPS (if available), and then package it and pull it back locally.

    reply
    0
  • 阿神

    阿神2017-04-27 09:05:11

    First remotely clone to gitcafe or ustc lug git, and then clone from there. After cloning it, just enter the .git/config file and modify the address.

    reply
    0
  • 黄舟

    黄舟2017-04-27 09:05:11

    I usually make a script and download it on the company's computer. After downloading, I make a tar file and copy it to the required computer and then unpack it.

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-04-27 09:05:11

    Clone a US vps, and then download the packaged ftp breakpoint to the local computer.

    reply
    0
  • Cancelreply