clone 诸如linux比较庞大的项目,老是会断掉,前功尽弃
如果只是查看源代码,可以打包下载,如果连git记录也要clone下来,该怎么搞?
仅有的幸福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.
阿神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.
黄舟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.
淡淡烟草味2017-04-27 09:05:11
Clone a US vps, and then download the packaged ftp breakpoint to the local computer.